Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC] Patches exchange is bad?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:04

Marco Costalba [off-list ref] writes:
It is just a very thin layer above the two git scripts, the only extra work 
is the cleaning up of some info that git-format-patch-script automatically adds, 
so that the new commits look like the originals (i.e. same header and description).
What do you think?
All good.  The existing tools are designed to work well in the
following workflow:

    $ git format-patch --mbox master..pu
    $ cat 000[234]-*.txt >to-apply
    $ git checkout master
    $ git applymbox to-apply
    $ mv .git/refs/heads/pu .git/refs/heads/old-pu
    $ git checkout -b pu master
    $ git applymbox 0001-*.txt

to advance "master" with selected commits, possibly reordered,
from the "pu" branch, and rebase the "pu" branch using the
remaining commits.

I would like to know a bit about "git format-patch" adding extra
info that you needed to get rid of.  It shouldn't be necessary.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help