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)
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>
No differences found