author | Junio C Hamano <gitster@pobox.com> | |
Wed, 12 Oct 2011 17:35:38 +0000 (10:35 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 12 Oct 2011 17:35:38 +0000 (10:35 -0700) | ||
commit | ff74f7f1187cbf1b46e85ed1bde1f194991f919c | |
tree | e5b5dde1d991fc1202ff8dbec8d63fa7ff3a4b93 | tree | snapshot |
parent | dce4bab6567de7c458b334e029e3dedcab5f2648 | commit | diff |
refs.c: move dwim_ref()/dwim_log() from sha1_name.c
Both dwim_ref()/dwim_log() functions are intimately related to the ref
parsing rules defined in refs.c and better fits there. Move them together
with substitute_branch_name(), a file scope static helper function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Both dwim_ref()/dwim_log() functions are intimately related to the ref
parsing rules defined in refs.c and better fits there. Move them together
with substitute_branch_name(), a file scope static helper function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history | |
sha1_name.c | diff | blob | history |