Re: Is there a way to get the "format-patch" formatted file name?
- From
Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
- Date
- Aug 31, 2023, 11:04 UTC
- Message-ID
- <ZPBzz3vvv9Ryn2tz@ugly>
- In-Reply-To
- <aa35fbdb-cca4-ae04-4124-9498d682ec06@redhat.com>
On Thu, Aug 31, 2023 at 11:49:10AM +0200, Vít Ondruch wrote:
>$ git extract-filenames-from-patch 791.patch > >0001-Fix-Minitest-constant-name-in-tests.patch >
`git log --pretty=format:%f` does that. of course you need to apply the patch first for that to work, which is a bit inefficient and arguably inelegant if you don't intend to do that anyway.
>P.S.: Please keep me in the CC >
that's this list's policy anyway.
regards