Re: [git pull] vfs patches, part 1
From: Junio C Hamano
Date: Wed Dec 31 2008 - 15:44:13 EST
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:
> In case you wonder what the easiest way to fix things up is: just export
> the series as a mbox ("git log -p --stat --pretty=email linus.. > mbox")
> and then just edit the single mbox file to remove crud. Then you can
> re-apply it with "git am".
>
> Of course, with git you can do it in a million different ways: You could
> do it with "git format-patch" or with "git rebase -i" too, for example,
> but exporting it as an mbox means that you can do it in one single editing
> session, which is how at least I personally work. Much nicer than having
> to handle each commit individually.
The "format-patch" equivalent to export to a single mbox is:
$ git format-patch --stdout linus.. >mbox
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/