Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-kernel-config
diff options
context:
space:
mode:
Diffstat (limited to 'update-kernel-config')
-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 '^+++\|^---'
)