[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7v3ag4xegt.fsf@gitster.siamese.dyndns.org>
Date: Wed, 31 Dec 2008 12:43:46 -0800
From: Junio C Hamano <gitster@...ox.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Al Viro <viro@...IV.linux.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: [git pull] vfs patches, part 1
Linus Torvalds <torvalds@...ux-foundation.org> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists