From: Matt S Trout Date: Tue, 10 Sep 2013 20:55:48 +0000 (+0000) Subject: restore stolen - in Changes line X-Git-Tag: v0.002000~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0887b8ff1b12ce4c08542602e809a23225d76967;p=p5sagit%2FDistar.git restore stolen - in Changes line --- diff --git a/lib/Distar.pm b/lib/Distar.pm index c3d9453..dfa2de8 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -95,7 +95,7 @@ sub run_preflight { my $ymd = sprintf( "%i-%02i-%02i", (localtime)[5]+1900, (localtime)[4]+1, (localtime)[3] ); - my $changes_line = "$version $ymd\n"; + my $changes_line = "$version - $ymd\n"; my @cached = grep /^\+/, `git diff --cached -U0`; @cached > 0 or die "Please add:\n\n$changes_line\nto Changes stage Changes (git add Changes)"; @cached == 2 or die "Pre-commit Changes not just Changes line";