Git commit --patch (again)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 11 repliesIn review
- v21 patch 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Use a temporary index for git commit --interactiveDocumentation/ builtin/ | +30 | 0 replies | |
| 2/3 | Allow git commit --interactive with pathsbuiltin/ | +0 | 0 replies | |
| 3/3 | Add support for -p/--patch to git-commitDocumentation/ builtin/ builtin/ +1 more | +27 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] Git commit --patch (again)
From: Conrad Irwin <[email protected]>
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(-)
Signature · 1 line
1.7.5.188.g4817