Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 3/3] cvsimport: miscellaneous packed-ref fixes

From: Jeff King <hidden>
Date: 2016-06-15 22:43:54

On Wed, Nov 28, 2007 at 04:52:28PM -0800, Junio C Hamano wrote:
quoted
@@ -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 ;-)?
Bah, I even ran this through the test suite, but obviously forgot a
'make' in the middle.
Thanks, queued.
Thanks. Sorry for all the mistakes; I think I made more work in catching
my errors than went into the original patch series. ;)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help