1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

use diff on staged files too

This commit is contained in:
Daniel Martí 2013-06-27 21:32:06 +02:00
parent 59146ca3de
commit 09a781977c

View File

@ -13,7 +13,7 @@ while read line; do
build=${build#*,} build=${build#*,}
vercode=${build%%,*} vercode=${build%%,*}
fi fi
done < <(git diff -- "$file") done < <(git diff HEAD -- "$file")
[ $newbuild -eq 0 ] && continue [ $newbuild -eq 0 ] && continue