projects
/
p5sagit/Distar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
413a726
)
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
patch
|
blob
|
blame
|
history
diff --git
a/helpers/bump-version
b/helpers/bump-version
index
f27db0d
..
6b60641
100755
(executable)
--- a/
helpers/bump-version
+++ b/
helpers/bump-version
@@
-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`) {