aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-11-08 09:57:42 -0800
committerTony Lindgren <tony@atomide.com>2018-11-08 09:57:42 -0800
commit07fa3fa2572f2dee85beb8137f90ccf33d7206af (patch)
tree0cec1fca7425cd6c423c53c4581ea2a9776ed411 /scripts/setlocalversion
parentARM: dts: dra7: Move l4 child devices to probe them with ti-sysc (diff)
parentLinux 4.20-rc1 (diff)
Merge tag 'v4.20-rc1' into omap-for-v4.21/dt-ti-sysc
Linux 4.20-rc1
Diffstat (limited to 'scripts/setlocalversion')
-rwxr-xr-xscripts/setlocalversion2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index 71f39410691b..79f7dd57d571 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -74,7 +74,7 @@ scm_version()
fi
# Check for uncommitted changes
- if git diff-index --name-only HEAD | grep -qv "^scripts/package"; then
+ if git status -uno --porcelain | grep -qv '^.. scripts/package'; then
printf '%s' -dirty
fi