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

[PATCH] git-p4 : Small improvement patches

From
Vitor Antunes <vitor.hda@gmail.com>
Date
Feb 3, 2011, 01:01 UTC
Message-ID
<1296694913-7844-1-git-send-email-vitor.hda@gmail.com>

This patch finishes all the changes that I've done to git-p4 script and that I've been using in my daily work. Although most of the changes are trivial, it would be nice if someone could test these updates and provide feedback.

The script, as it is, still has one limitation: when it detects a new branch it will base it on the last commit of the origin branch. This may not be true, because the branch may have been created from an old change list. My idea would be to find a commit to which the new branch would have a null diff... but I don't know what would be the best way to do something like this through git commands. Suggestions are welcome on this point :)

Thank in advance, Vitor

Vitor Antunes (1):
  git-p4: Improve branch support.
 contrib/fast-import/git-p4 |   27 +++++++++++++++++++++++----
 1 files changed, 23 insertions(+), 4 deletions(-)
-- 
1.7.2.3
Next: Vitor Antunes
Message 1 of 2 in “git-p4 : Small improvement patches”
  1. git-p4 : Small improvement patchesVitor Antunes, Feb 3, 2011
  2. git-p4: Improve branch support.Vitor Antunes, Feb 3, 2011

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.