diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2009-10-17 18:30:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-18 23:00:02 -0700 |
commit | fb423da0e5668f3945c5a3e34fe5953cde6985a4 (patch) | |
tree | a09587447e9652337f382ecda6ff87685d08caa6 /Documentation/technical/api-gitattributes.txt | |
parent | Merge branch 'maint' (diff) | |
download | tgif-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 'Documentation/technical/api-gitattributes.txt')
0 files changed, 0 insertions, 0 deletions