summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2009-10-17 18:30:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-10-18 23:00:02 -0700
commitfb423da0e5668f3945c5a3e34fe5953cde6985a4 (patch)
treea09587447e9652337f382ecda6ff87685d08caa6 /sha1_file.c
parentMerge branch 'maint' (diff)
downloadtgif-fb423da0e5668f3945c5a3e34fe5953cde6985a4.tar.xz
describe: load refnames before calling describe()
Get rid of the static variable that was used to prevent loading all the refnames multiple times by moving that code out of describe(), simply making sure it is only run once that way. Also change the error message that is shown in case no refnames are found to not include a hash any more, as the error condition is not specific to any particular revision. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions