aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-25 06:50:21 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-25 06:50:21 +0200
commit2a7981e834e9363784b79d432626157ee5643464 (patch)
tree2fc73529ee593f1d4b1ffd82b39923b1e57ba773
parentgpy-impl-list: use a dedicated channel (diff)
downloadqa-scripts-2a7981e834e9363784b79d432626157ee5643464.tar.gz
qa-scripts-2a7981e834e9363784b79d432626157ee5643464.tar.bz2
qa-scripts-2a7981e834e9363784b79d432626157ee5643464.zip
gpy-impl-list: Need --no-index to git diff
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rwxr-xr-xgpy-impl-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpy-impl-list b/gpy-impl-list
index 2417d7e..542d699 100755
--- a/gpy-impl-list
+++ b/gpy-impl-list
@@ -13,5 +13,5 @@ irk "${IRC}" - <<<$'\0'
gpy-list-pkg-impls > "${OUTDIR}"/python-pkg-impls.txt.new
while read -r x; do
irk "${IRC}" "${x}"
-done < <(git diff -s --word-diff -U0 "${OUTDIR}"/python-pkg-impls.txt{,.new} | tail -n +5 | grep -v '^@@')
+done < <(git diff --no-index -s --word-diff -U0 "${OUTDIR}"/python-pkg-impls.txt{,.new} | tail -n +5 | grep -v '^@@')
mv "${OUTDIR}"/python-pkg-impls.txt{.new,}