[PATCH 2/8] revert: use run_command_v_opt() instead of execv_git_cmd()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christian Couder
Date: Monday, May 31, 2010 - 12:42 pm

This is needed by the following commits, because we are going
to cherry pick many commits instead of just one.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 builtin/revert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builtin/revert.c b/builtin/revert.c
index 5df0d69..9085894 100644
--- a/builtin/revert.c
+++ b/builtin/revert.c
@@ -530,7 +530,7 @@ static int revert_or_cherry_pick(int argc, const char **argv)
 			args[i++] = defmsg;
 		}
 		args[i] = NULL;
-		return execv_git_cmd(args);
+		return run_command_v_opt(args, RUN_GIT_CMD);
 	}
 	free_message(&msg);
 	free(defmsg);
-- 
1.7.1.361.g42de.dirty


--
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 0/8] implement cherry-picking many commits, Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 1/8] revert: cleanup code for -x option, Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 2/8] revert: use run_command_v_opt() instead of exe ..., Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 3/8] revert: refactor code into a do_pick_commit() ..., Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 4/8] revert: change help_msg() to take no argument, Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 5/8] revert: allow cherry-picking more than one commit, Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 6/8] revert: add tests to check cherry-picking many ..., Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 7/8] Documentation/cherry-pick: describe passing mo ..., Christian Couder, (Mon May 31, 12:42 pm)
[PATCH 8/8] Documentation/revert: describe passing more th ..., Christian Couder, (Mon May 31, 12:42 pm)
Re: [PATCH 4/8] revert: change help_msg() to take no argument, Jonathan Nieder, (Mon May 31, 10:08 pm)
Re: [PATCH 4/8] revert: change help_msg() to take no argument, Jonathan Nieder, (Mon May 31, 11:27 pm)
Re: [PATCH 7/8] Documentation/cherry-pick: describe passin ..., Ramkumar Ramachandra, (Tue Jun 1, 2:29 am)
Re: [PATCH 7/8] Documentation/cherry-pick: describe passin ..., Ramkumar Ramachandra, (Tue Jun 1, 3:26 am)