From: Junio C Hamano Date: Wed, 12 Oct 2011 17:35:38 +0000 (-0700) Subject: refs.c: move dwim_ref()/dwim_log() from sha1_name.c X-Git-Tag: v1.7.8-rc0~19^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ff74f7f1187cbf1b46e85ed1bde1f194991f919c?hp=ff74f7f1187cbf1b46e85ed1bde1f194991f919c 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 ---