git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Romain Merland <merlorom@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Romain Merland <merlorom@yahoo.fr>,
	git@vger.kernel.org, Luke Diamand <luke@diamand.org>,
	Matthieu Moy <Matthieu.Moy@imag.fr>,
	Vinicius Kursancew <viniciusalexandre@gmail.com>,
	Jeff King <peff@peff.net>,
	Cedric Borgese <cedric.borgese@gmail.com>
Subject: [PATCH 0/1] git-p4: add options --commit and --disable-rebase
Date: Fri,  1 Jun 2018 09:46:13 +0200	[thread overview]
Message-ID: <20180601074614.7856-1-merlorom@yahoo.fr> (raw)

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	other threads:[~2018-06-01  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-01  7:46 Romain Merland [this message]
2018-06-01  7:46 ` [PATCH 1/1] git-p4: add options --commit and --disable-rebase Romain Merland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180601074614.7856-1-merlorom@yahoo.fr \
    --to=merlorom@gmail.com \
    --cc=Matthieu.Moy@imag.fr \
    --cc=cedric.borgese@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=luke@diamand.org \
    --cc=merlorom@yahoo.fr \
    --cc=peff@peff.net \
    --cc=viniciusalexandre@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).