From: Junio C Hamano Date: Thu, 29 Nov 2007 00:52:28 GMT Subject: Re: [PATCH 3/3] cvsimport: miscellaneous packed-ref fixes Message-ID: <7vsl2pzxdf.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071128185628.GC11320@coredump.intra.peff.net> Jeff King writes: > @@ -998,7 +996,7 @@ if ($orig_branch) { > $orig_branch = "master"; > print "DONE; creating $orig_branch branch\n" if $opt_v; > system("git-update-ref", "refs/heads/master", "$remote/$opt_o") > - unless -f "$git_dir/refs/heads/master"; > + defined get_headref('refs/heads/master'); Where did the unless go ;-)? Thanks, queued.