]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: fix skipSubmitEdit regression
authorPete Wyckoff <pw@padd.com>
Sat, 17 Dec 2011 17:39:03 +0000 (12:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Dec 2011 02:20:27 +0000 (18:20 -0800)
commitd16520499d2652b5b59dfb25f9cf2d56a4c6913a
tree874bde050ffa44e1b4945e76ec9d0c923f45818d
parentee228024933069b93ce23a1bd5eeb7ae12c792f2
git-p4: fix skipSubmitEdit regression

Commit 7c766e5 (git-p4: introduce skipSubmitEdit, 2011-12-04)
made it easier to automate submission to p4, but broke the most
common case.

Add a test for when the user really does edit and save the change
template, and fix the bug that causes the test to fail.

Also add a confirmation message when submission is cancelled.

Reported-by: Michael Horowitz <michael.horowitz@ieee.org>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
t/t9805-skip-submit-edit.sh