projects
/
p5sagit/Distar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
362ec4a
)
fix for new git
Graham Knop [Tue, 10 Dec 2013 16:04:31 +0000 (08:04 -0800)]
lib/Distar.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Distar.pm
b/lib/Distar.pm
index
ee17e22
..
f27036d
100644
(file)
--- a/
lib/Distar.pm
+++ b/
lib/Distar.pm
@@
-86,7
+86,7
@@
sub run_preflight {
}
for (scalar `git status`) {
- /^# On branch master/ || die "Not on master. EEEK";
+ /^(?:# )?On branch master/ || die "Not on master. EEEK";
/Your branch is behind|Your branch and .*? have diverged/ && die "Not synced with upstream";
}