X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FImport.pm;h=3adf9dec21785ee9865a22bcdd8e7a338051dcac;hb=ea4e9025dd14f251996baf724e04fc478375b6a2;hp=46f57e27c2b452d13f31cb3a08111620bb1308a8;hpb=86c2ebf085cc9897bafcb95b82890f2645f515e5;p=public-inbox.git diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index 46f57e27..3adf9dec 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -25,7 +25,7 @@ sub default_branch () { { GIT_CONFIG => undef }); chomp(my $h = <$r> // ''); close $r; - $h eq '' ? 'refs/heads/master' : $h; + $h eq '' ? 'refs/heads/master' : "refs/heads/$h"; } }