From: Daniel Martí Date: Thu, 27 Jun 2013 19:32:06 +0000 (+0200) Subject: use diff on staged files too X-Git-Tag: 0.1~523 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=09a781977c8f5bc08673154b295317d9f9006777;p=fdroidserver.git use diff on staged files too --- diff --git a/commitupdates b/commitupdates index 675c8e14..7eaf9136 100755 --- a/commitupdates +++ b/commitupdates @@ -13,7 +13,7 @@ while read line; do build=${build#*,} vercode=${build%%,*} fi - done < <(git diff -- "$file") + done < <(git diff HEAD -- "$file") [ $newbuild -eq 0 ] && continue