Re: [PATCH v2 1/2] Add for_each_remote() function, and extend remote_find_tracking()
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:20
Hi, On Tue, 10 Jul 2007, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:quoted
The function for_each_remote() does exactly what the name suggests. The function remote_find_tracking() was extended to be able to search remote refs for a given local ref. You have to set the parameter "reverse" to true for that behavior.The updated patch does not use "reverse" but the old description is still there.
Urgh. Right. May I ask you to paste this instead? The function remote_find_tracking() was extended to be able to search remote refs for a given local ref. You have to set either src or dst in the refspec, and remote_find_tracking() will fill in the other and return 0.
Daniel, one thing I fear about your "I want to store the message in the object store so that I can reuse even after I re-polish the series" desire on the cover letter topic is this kind of gotcha, and that is why I suggested "*** BLURB GOES HERE ***".
I am happy that my fsckup served a purpose, then. (And maybe this would be a good hint in rebase -i's man page, too, since that is how the error was introduced here.) Ciao, Dscho