X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDistar.pm;h=2dedc9fa56c13042fd7e51f3c686f323a4d95b49;hb=50d3c4adcc2ba2e582f1e4d5121c888d2ce2f969;hp=2e3aba7905485c0d45118d80c5dd7d4a24884c38;hpb=1d950b4a0e2ff68d87984134aa2c82d46bf78748;p=p5sagit%2FDistar.git diff --git a/lib/Distar.pm b/lib/Distar.pm index 2e3aba7..2dedc9f 100644 --- 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"; }