From: Junio C Hamano Date: Wed, 16 Sep 2009 18:15:27 GMT Subject: Re: [PATCH] push: Correctly initialize nonfastforward in do_push. Message-ID: <7vvdjizrgg.fsf@alter.siamese.dyndns.org> In-Reply-To: Matthieu Moy writes: > Short answer: trust me, without the patch, you get the non-fast > forward (and valgrind tells you about conditional jump on > uninitialized value), with, you don't ;-). I understand valgrind one; I can trace the codepath with eyeballs without it, and that is why I said it looks correct to begin with. My puzzlement was that the following in the log message did not seem to reproduce for me: ... where "git push ... nonexisting-branch" was complaining about non-fast forward. I would be eventually writing an entry in the Release Notes about this fix, and I do not want to say: "git push $there no-such-ref" incorrectly said no-such-ref does not fast forward; fixed. when I know that command line would produce something entirely different error.