projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b0c89
)
kbuild: append -dirty for updated but uncommited changes
author
Uwe Zeisberger
<zeisberg@informatik.uni-freiburg.de>
Fri, 16 Jun 2006 06:48:48 +0000
(08:48 +0200)
committer
Sam Ravnborg
<sam@mars.ravnborg.org>
Fri, 16 Jun 2006 22:08:17 +0000
(
00:08
+0200)
Compare the working copy with the last commit, instead of the index.
Signed-off-by: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
Acked-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion
patch
|
blob
|
history
diff --git
a/scripts/setlocalversion
b/scripts/setlocalversion
index b7bc0f5b64f65dfb285bdd9489b7ba0b2c3819a8..82e4993f0a7368797989b2acd169fe203766fb7a 100644
(file)
--- a/
scripts/setlocalversion
+++ b/
scripts/setlocalversion
@@
-16,7
+16,7
@@
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
fi
# Are there uncommitted changes?
- if git diff-
files
| read dummy; then
+ if git diff-
index HEAD
| read dummy; then
printf '%s' -dirty
fi
fi