]> git.ipfire.org Git - thirdparty/git.git/commit - run-command.h
commit: fix patch hunk editing with "commit -p -m"
authorBenoit Pierre <benoit.pierre@gmail.com>
Tue, 18 Mar 2014 10:00:53 +0000 (11:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Mar 2014 18:25:12 +0000 (11:25 -0700)
commit15048f8a9ace23df67161746ca76b4f46114deee
tree5b7d00d2da24c8e31ede5d028b889bf06a63aaaf
parent91c9c8692056c0553c6ea9239ccd46f7f3dbd877
commit: fix patch hunk editing with "commit -p -m"

Don't change git environment: move the GIT_EDITOR=":" override to the
hook command subprocess, like it's already done for GIT_INDEX_FILE.

Signed-off-by: Benoit Pierre <benoit.pierre@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
builtin/clone.c
builtin/commit.c
builtin/gc.c
builtin/merge.c
commit.h
run-command.c
run-command.h
t/t7514-commit-patch.sh