Re: [PATCH v2 3/4] t: test failed "stash apply --index"
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Sep 25, 2026, 15:45 UTC
- Message-ID
- <a9c44afa-583e-45ad-9447-c00144141c32@gmail.com>
- In-Reply-To
- <CALnO6CDTaunaBby+Gy4B5vxiHES3DHpybv8Eq2JPvQ1cteGzrw@mail.gmail.com>
Hi Ben
On 25/09/2026 14:36, D. Ben Knoble wrote:
Show 7 quoted lines
> > So overall, I'm thinking > > - (old) diff-files only shows file is changed > - diff-files -p shows us changes for file, better (and won't show the > other 2 files unless they've become unstaged) > - diff-index --cached HEAD helps us check all the index changes
I think that sounds reasonable, we can delete the index lines from the patch output with sed to make it easier to compare them.
Thanks
Phillip
> Phew! Thanks for reading my rambling thinking aloud :) >