git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] git-p4: add options --commit and --disable-rebase

From
RMRomain Merland <merlorom@gmail.com>
Date
Jun 1, 2018, 07:46 UTC
Message-ID
<20180601074614.7856-1-merlorom@yahoo.fr>

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
Next: Romain Merland
Message 1 of 2 in “git-p4: add options --commit and --disable-rebase”
  1. 0/1 git-p4: add options --commit and --disable-rebaseRomain Merland, Jun 1, 2018
  2. 1/1 git-p4: add options --commit and --disable-rebaseRomain Merland, Jun 1, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.