projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef98c5c
)
GIT-VERSION-GEN: do not fail if a 'HEAD' file exists in the working copy
author
Lea Wiemann
<lewiemann@gmail.com>
Sat, 28 Jun 2008 17:13:29 +0000
(19:13 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 28 Jun 2008 17:53:11 +0000
(10:53 -0700)
Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GIT-VERSION-GEN
patch
|
blob
|
history
diff --git
a/GIT-VERSION-GEN
b/GIT-VERSION-GEN
index f221447478aea8628c0ab6d098338f7e8630201e..cb7cd4b53827fa6820e84b1318572d0115b3b17f 100755
(executable)
--- a/
GIT-VERSION-GEN
+++ b/
GIT-VERSION-GEN
@@
-16,7
+16,7
@@
elif test -d .git -o -f .git &&
case "$VN" in
*$LF*) (exit 1) ;;
v[0-9]*)
- test -z "$(git diff-index --name-only HEAD)" ||
+ test -z "$(git diff-index --name-only HEAD
--
)" ||
VN="$VN-dirty" ;;
esac
then