diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-05-07 06:52:51 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-06 22:50:48 -0700 |
| commit | 0c6bd2b81d1e18dfa1e143c354c554cca34b3685 (patch) | |
| tree | d8f8a497b4f516d8a9310190e65a8691ed8586c7 /commit-reach.c | |
| parent | a0851cece542be9fabf00d6145860562db450205 (diff) | |
path: move `validate_headref()` to its only user
While `validate_headref()` is only called from `is_git_directory()` in
"setup.c", it is currently implemented in "path.c". Move it over such
that it becomes clear that it is only really used during setup in order
to discover repositories.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions
