unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Exporting patches without prerequisite patch id
@ 2022-08-03  3:57 kiasoc5
  2022-08-04  0:22 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: kiasoc5 @ 2022-08-03  3:57 UTC (permalink / raw)
  To: help-guix

Hi Guix,

I have some commits on my local guix repo like this:

(master) HEAD -> A -> B -> C

When I do `git format-patch -3 --base=auto` I get prerequisite patch
ids in some of the patches. But I want to each patch to depend only on
HEAD. In other words I want to export patches like so:

HEAD -> A
HEAD -> B
HEAD -> C

How do I do this?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Exporting patches without prerequisite patch id
  2022-08-03  3:57 Exporting patches without prerequisite patch id kiasoc5
@ 2022-08-04  0:22 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2022-08-04  0:22 UTC (permalink / raw)
  To: kiasoc5; +Cc: help-guix

kiasoc5 writes:

> I have some commits on my local guix repo like this:
>
> (master) HEAD -> A -> B -> C
>
> When I do `git format-patch -3 --base=auto` I get prerequisite patch
> ids in some of the patches. But I want to each patch to depend only on
> HEAD. In other words I want to export patches like so:
>
> HEAD -> A
> HEAD -> B
> HEAD -> C
>
> How do I do this?

`git-format-patch --base` doesn't support lying about the state by
leaving out the prerequisite patch IDs, as far as I know.  If you have a
string of commits that you want to post as single patches where only
base-commit is listed, the approach would be to split each of those off
into separate, independent branches on top of the base commit.

             a
            /
    base ----- b
            \
             c


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-04  0:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03  3:57 Exporting patches without prerequisite patch id kiasoc5
2022-08-04  0:22 ` Kyle Meyer

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 read-only IMAP folder(s) and NNTP newsgroup(s).