index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | update-kernel-config | 11 |
diff --git a/update-kernel-config b/update-kernel-config index b4d78f2..a4d54b6 100755 --- a/update-kernel-config +++ b/update-kernel-config @@ -33,7 +33,16 @@ config_names=$( ) diff=$( - git -C "${upstream_git_path}/$2/repos/$1-x86_64" diff "${old_revision}" HEAD -- config | \ + diff -u <( + git -C "${upstream_git_path}/$2/repos/$1-x86_64" archive "${old_revision}" -- config | \ + tar -Ox | \ + sort + ) \ + <( + git -C "${upstream_git_path}/$2/repos/$1-x86_64" archive HEAD -- config | \ + tar -Ox | \ + sort + ) | \ grep '^[+-].' | \ grep -v '^+++\|^---' ) |