X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/691ce773f92d2810db171a8ff46c3dd0196abfb5..a36462570c37e1b6544fc8746e99db3d683e2ac1:/make_patchnum.pl diff --git a/make_patchnum.pl b/make_patchnum.pl index ac32808..9d83dd5 100644 --- a/make_patchnum.pl +++ b/make_patchnum.pl @@ -17,7 +17,7 @@ make_patchnum.pl - make patchnum This program creates the files holding the information about locally applied patches to the source code. The created -files are C and C. +files are F and F. =head2 C @@ -134,6 +134,7 @@ if (my $patch_file= read_file(".patch")) { elsif (-d "$srcdir/.git") { # git branch | awk 'BEGIN{ORS=""} /\*/ { print $2 }' ($branch) = map { /\* ([^(]\S*)/ ? $1 : () } backtick("git branch"); + $branch //= ""; my ($remote,$merge); if (length $branch) { $merge= backtick("git config branch.$branch.merge");