commit:     2a7981e834e9363784b79d432626157ee5643464
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 04:50:21 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 25 04:50:21 2021 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=2a7981e8

gpy-impl-list: Need --no-index to git diff

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 gpy-impl-list | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,}

Reply via email to