summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-kernel-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-kernel-config b/update-kernel-config
index 6b6f074..7f4180e 100755
--- a/update-kernel-config
+++ b/update-kernel-config
@@ -6,7 +6,7 @@ if [ $# -ne 3 ]; then
fi
diff=$(
- git -C "/usr/src/archlinux/packages/$2/repos/$1-x86_64" diff "$3" -- config | \
+ git -C "/usr/src/archlinux/packages/$2/repos/$1-x86_64" diff "$3" HEAD -- config | \
grep '^[+-]' | \
grep -v '^+++\|^---'
)