From: Conrad Irwin <conrad.irwin@gmail.com>
To: git@vger.kernel.org
Cc: conrad.irwin@gmail.com
Subject: [PATCH 2/3] Allow git commit --interactive with paths
Date: Wed, 2 Feb 2011 21:25:31 -0800 [thread overview]
Message-ID: <1296710732-12493-3-git-send-email-conrad.irwin@gmail.com> (raw)
In-Reply-To: <1296710732-12493-1-git-send-email-conrad.irwin@gmail.com>
Make git commit --interactive feel more like git add --interactive by
allowing the user to restrict the list of files they have to deal with.
Signed-off-by: Conrad Irwin <conrad.irwin@gmail.com>
---
builtin/commit.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/builtin/commit.c b/builtin/commit.c
index 41f0e2e..592c2d2 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -1012,8 +1012,6 @@ static int parse_and_validate_options(int argc, const char *argv[],
if (all && argc > 0)
die("Paths with -a does not make sense.");
- else if (interactive && argc > 0)
- die("Paths with --interactive does not make sense.");
if (null_termination && status_format == STATUS_FORMAT_LONG)
status_format = STATUS_FORMAT_PORCELAIN;
--
1.7.4.1.g1c7a9.dirty
next prev parent reply other threads:[~2011-02-03 5:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Conrad Irwin [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1296710732-12493-3-git-send-email-conrad.irwin@gmail.com \
--to=conrad.irwin@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).