Re: clarification of `rev-list --no-walk ^<rev>`?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 19, 2016, 21:00 UTC
- Message-ID
- <xmqqa8f3ehaa.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <DDC820F0373F4534B4A9D12E8B7B866B@PhilipOakley>
"Philip Oakley" <philipoakley@iee.org> writes:
Show 7 quoted lines
>> The "--no-walk" tells the rev-list machinery "I have only positives;
>> do not traverse from them AT ALL but just use these positives".
>> Only under that condition, the order of the positive ends you list
>> on the command line matters.
>
> What does "--do-walk" do ("Overrides a previous --no-walk"), and when
> would it be applied?Wouldn't
$ git cherry-pick --no-walk --do-walk A
end up walking the history behind A and reproducing the history since the root commit?