Commit 216b2f1f authored by Uwe Zeisberger's avatar Uwe Zeisberger Committed by Sam Ravnborg

kbuild: append -dirty for updated but uncommited changes

Compare the working copy with the last commit, instead of the index.
Signed-off-by: default avatarUwe Zeisberger <>
Acked-by: default avatarRyan Anderson <>
Signed-off-by: default avatarSam Ravnborg <>
parent 29b0c899
......@@ -16,7 +16,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Are there uncommitted changes?
if git diff-files | read dummy; then
if git diff-index HEAD | read dummy; then
printf '%s' -dirty
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment