summaryrefslogtreecommitdiff
path: root/builtin-update-ref.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-08-08 13:31:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-08-08 13:31:27 -0700
commitb13d44093bac2eb75f37be01f0e369290211472c (patch)
treef175f8bf3937eae7d43678aaff772d11afa9d60c /builtin-update-ref.c
parentMakefile: set SHELL to value of SHELL_PATH (diff)
downloadtgif-b13d44093bac2eb75f37be01f0e369290211472c.tar.xz
GIT-VERSION-GEN: mark the version 'dirty' only if there are modified files
We used to mark the version string with '-dirty' if the cache was not up to date, but the only thing we want to know is if the binaries are built from modified source. Refresh the cache to avoid false dirtyness. Christian Jaeger noticed this issue while building under fakeroot environment (without -u) that lies about the file ownership data. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-update-ref.c')
0 files changed, 0 insertions, 0 deletions