projects
/
p5sagit/Distar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
bump should only check for staged changes, not output diff
[p5sagit/Distar.git]
/
helpers
/
bump-version
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`) {