On a daily work with multiple local git branches, the usual way to submit only a
specified commit was to cherry-pick the commit on master then run git-p4 submit.
It can be very annoying to switch between local branches and master, only to
submit one commit.
The proposed new way is to select directly the commit you want to submit.

add option --commit to command 'git-p4 submit' in order to submit only 
specified commit(s) in p4.

On a daily work developping software with big compilation time, one may not want
to rebase on his local git tree, in order to avoid long recompilation.

add option --disable-rebase to command 'git-p4 submit' in order to disable 
rebase after submission.

Romain Merland (1):
  git-p4: add options --commit and --disable-rebase

 Documentation/git-p4.txt | 14 ++++++++++++++
 git-p4.py                | 29 +++++++++++++++++++++++------
 t/t9807-git-p4-submit.sh | 40 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 6 deletions(-)

-- 
2.17.0

Reply via email to