git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] git-commit --patch
@ 2011-02-03  5:25 Conrad Irwin
  2011-02-03  5:25 ` [PATCH 1/3] Use a temporary index for git commit --interactive Conrad Irwin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Conrad Irwin @ 2011-02-03  5:25 UTC (permalink / raw)
  To: git; +Cc: conrad.irwin

This patch-set adds support for git-commit --patch, and tidies up some of the
rough edges of git commit --interactive.

The motivation is to support my current workflow, which goes something like:

1. Hack out the basic structure of the feature that I'm working on, until I have
   something that looks like it will work.
2. Split this into several commits with a more logical flow (i.e. some that add
   support for the techniques I want to use for the actual feature, then the
   feature itself).
3. Start fleshing out the implementation, and bug-fixing, with lots of
   git-commit --fixup so that the changes end up in the right commit.
4. At the end of the day, a big rebase -i to make the history readable.

This is just about doable with git-add -p, or git-commit --interactive, but
it's very inefficient. I take the presence of git commit --fixup to imply that
other people are doing similar, if less extreme things, so assume that they
would like a git-commit -p too.

Conrad

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

end of thread, other threads:[~2011-02-06 21:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03  5:25 [PATCH v2] git-commit --patch Conrad Irwin
2011-02-03  5:25 ` [PATCH 1/3] Use a temporary index for git commit --interactive Conrad Irwin
2011-02-03  5:25 ` [PATCH 2/3] Allow git commit --interactive with paths Conrad Irwin
2011-02-03  5:25 ` [PATCH 3/3] Add support for -p/--patch to git-commit Conrad Irwin
2011-02-06 21:06 ` [PATCH v2] git-commit --patch Conrad Irwin

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).