Re: [PATCH] checkout: add --autostash option for branch switching
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 16, 2026, 14:45 UTC
- Message-ID
- <xmqqpl3z3qwg.fsf@gitster.g>
- In-Reply-To
- <20260416100556.27823-1-haraldnordgren@gmail.com>
Harald Nordgren <haraldnordgren@gmail.com> writes:
> I do think there is some possibility to handle this via maybe a new > option 'git range-diff --rebase', or directly via GitGitGadget. This would > automatically create a diff with only the files actually changed, which > saves both author's and reviewer's time.
I am not sure. Have you actually tried to apply two iterations (I think it was between v11 and v12 but please double check) on the same base and ran range-diff, and compared the result with what I complained about? You added one helper in the new iteration, that replaces two helpers you added to the old iteration, and the part of the range-diff that I called "less interesting" noise were the change to the callers to the original two helpers to make them call the unified helper, inevitably with different arguments. I am not sure a mechanical textual comparison tool can tell them from the more interesting change that shows that two old helpers did not get added and instead one new unified helper got added. I do not expect this to change if two versions compared were built on the same base.
And that is why I kept saying that the cover letter needs some comments written by the author to guide readers which parts of the changes are notable.