git-p4: allow submit to create shelved changelists.
authorVinicius Kursancew <viniciusalexandre@gmail.com>
Mon, 28 Nov 2016 09:33:18 +0000 (09:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Nov 2016 18:59:01 +0000 (10:59 -0800)
commitb34fa5777d84abf123cd6b306e2a9a02dac4fc86
tree5da52cec7deee2313cd0e512d2e9bcf7cbcdaf47
parentac84098b7e32406a982ac01cc76a663d5605224b
git-p4: allow submit to create shelved changelists.

Add a --shelve command line argument which invokes p4 shelve instead
of submitting changes. After shelving the changes are reverted from the
p4 workspace.

Signed-off-by: Vinicius Kursancew <viniciusalexandre@gmail.com>
Reviewed-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-p4.txt
git-p4.py
t/t9807-git-p4-submit.sh