Re: [PATCH 3/3] cvsimport: miscellaneous packed-ref fixes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 29, 2007, 00:52 UTC
- Message-ID
- <7vsl2pzxdf.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071128185628.GC11320@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> @@ -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.