bump should only check for staged changes, not output diff
Graham Knop [Sat, 14 Mar 2015 21:06:48 +0000 (17:06 -0400)]
helpers/bump-version

index f27db0d..6b60641 100755 (executable)
@@ -17,7 +17,7 @@ warn "Bumping $old_version -> $new_decimal\n";
 
 my %files;
 if ($git) {
-  if (system "git diff --cached HEAD") {
+  if (system "git diff --quiet --cached HEAD") {
     die "Staged changes!\n";
   }
   for (`git ls-files`) {