projects
/
p5sagit/Distar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1d950b4
)
refuse to release from not master
Matt S Trout [Mon, 30 Jan 2012 20:20:05 +0000 (20:20 +0000)]
lib/Distar.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Distar.pm
b/lib/Distar.pm
index
2e3aba7
..
2dedc9f
100644
(file)
--- a/
lib/Distar.pm
+++ b/
lib/Distar.pm
@@
-61,6
+61,7
@@
sub run_preflight {
}
for (scalar `git status`) {
+ /^# On branch master/ || die "Not on master. EEEK";
/Your branch is (behind|ahead of)/ && die "Not synced with upstream";
}