git-p4: introduce skipSubmitEdit
authorPete Wyckoff <pw@padd.com>
Mon, 5 Dec 2011 00:22:45 +0000 (19:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2011 22:43:22 +0000 (14:43 -0800)
commit7c766e57e8214ee3cef6e215eaf8e2b3b56767e3
treebf19c8aa793f28f3d248a0f445d6fea8c517c775
parenteb3b8d7658331f4ec5f115d7407393d845644f5e
git-p4: introduce skipSubmitEdit

Add a configuration variable to skip invoking the editor in the
submit path.

The existing variable skipSubmitEditCheck continues to make sure
that the submit template was indeed modified by the editor; but,
it is not considered if skipSubmitEdit is true.

Reported-by: Loren A. Linden Levy <lindenle@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
contrib/fast-import/git-p4.txt
t/t9805-skip-submit-edit.sh [new file with mode: 0755]