From: "Vít Ondruch" <vondruch@redhat.com>
To: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Is there a way to get the "format-patch" formatted file name?
Date: Thu, 31 Aug 2023 14:13:30 +0200 [thread overview]
Message-ID: <3a7837fa-d7fb-1a85-dc67-94e94f4058c6@redhat.com> (raw)
In-Reply-To: <ZPBzz3vvv9Ryn2tz@ugly>
[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]
Dne 31. 08. 23 v 13:04 Oswald Buddenhagen napsal(a):
> 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
That (applying the patch) is the problem actually. I am looking for
functionality like this in the context of Fedora packaging, where we
work with source tarballs. Therefore I don't typically have an
repository around.
And if I had a repository, I could possibly use `git format-patch`.
Vít
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2023-08-31 12:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 9:49 Is there a way to get the "format-patch" formatted file name? Vít Ondruch
2023-08-31 11:04 ` Oswald Buddenhagen
2023-08-31 12:13 ` Vít Ondruch [this message]
2023-08-31 12:46 ` Oswald Buddenhagen
2023-08-31 17:19 ` Junio C Hamano
2023-09-01 8:56 ` Vít Ondruch
2023-09-01 11:00 ` Oswald Buddenhagen
2023-09-01 15:53 ` Junio C Hamano
2023-09-01 16:04 ` Junio C Hamano
2023-09-01 16:37 ` Vít Ondruch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a7837fa-d7fb-1a85-dc67-94e94f4058c6@redhat.com \
--to=vondruch@redhat.com \
--cc=git@vger.kernel.org \
--cc=oswald.buddenhagen@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).