[PATCH v3 0/3] Git commit --patch (again)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Conrad Irwin <conrad.irwin@xxxxxxxxx>

Hi all,

I've rebased my support for git commit -p onto the current master
branch. I've posted it to the list twice before [1][2].

The purpose of the branch is to add the -p/--patch flag, used by other
commands such as git add and git checkout, to git commit. This makes it
much easier, and more convenient, to construct well-formed patches after
a session of writing code.

This branch also includes a fix for git-commit --interactive, so that if
the committer aborts after selecting hunks, the index is unchanged (just
as specifying filenames in the arguments doesn't permanently add them to
the index).

Feedback (of any variety) would be much appreciated,

Conrad

[1] http://thread.gmane.org/gmane.comp.version-control.git/164193
[2] http://thread.gmane.org/gmane.comp.version-control.git/165951

Conrad Irwin (3):
  Use a temporary index for git commit --interactive
  Allow git commit --interactive with paths
  Add support for -p/--patch to git-commit

 Documentation/git-commit.txt |   24 ++++++++++++++-------
 builtin/add.c                |    6 ++--
 builtin/commit.c             |   46 +++++++++++++++++++++++++++++++-----------
 commit.h                     |    2 +-
 4 files changed, 54 insertions(+), 24 deletions(-)

-- 
1.7.5.188.g4817

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]