Re: [PATCH] Add support for -p/--patch to git-commit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthieu Moy
Date: Sunday, December 26, 2010 - 9:30 am

Conrad Irwin <conrad.irwin@gmail.com> writes:


At least one mistake:

To: unlisted-recipients:; (no To-header on input)

(I guess you've Bcc-ed the Git list, please don't do that)


I don't think so. After a commit, I usually expect the index to be
clean, ready to start preparing the next commit (except if I
explicitely asked the opposite), which implies that the index used for
commit (-i|-p) is the same as the usual one.


... or git add --patch.


If I read correctly, this forbids "git commit --interactive --patch",
while "git add --interactive --patch" is allowed, and equivalent to
"--patch" alone.

Other than that, the patch looks good.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Add support for -p/--patch to git-commit, Conrad Irwin, (Sun Dec 26, 8:36 am)
Re: [PATCH] Add support for -p/--patch to git-commit, Matthieu Moy, (Sun Dec 26, 9:30 am)
Re: [PATCH] Add support for -p/--patch to git-commit, Conrad Irwin, (Sun Dec 26, 10:56 am)