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

[PATCH/RFC v2 0/2] git-p4: user preservation improvements

From
Luke Diamand <luke@diamand.org>
Date
May 9, 2011, 06:40 UTC
Message-ID
<1304923203-26278-1-git-send-email-luke@diamand.org>

Junio suggested that git-p4 should warn people about username lossage in a more sensible way. This pair of changes is an attempt to do that.

(a) The first change is a few small improvements to git-p4, but without spurious warnings (a bit more paranoid, get rid of a superfluous -G and don't bother to change the user if it's already correct).

(b) The second change adds a warning to the commit message if the authorship (based on git email vs p4 email) is going to be lost and the user is *not* using --preserve-user. The warning can be suppressed with a git config option.

Luke Diamand (2):
  git-p4: small improvements to user-preservation
  git-p4: warn if git authorship won't be retained
 contrib/fast-import/git-p4     |   49 ++++++++++++++++++++++++++++++++++-----
 contrib/fast-import/git-p4.txt |   16 +++++++++---
 t/t9800-git-p4.sh              |   46 +++++++++++++++++++++++++++++++++++++
 3 files changed, 100 insertions(+), 11 deletions(-)
Next: Luke Diamand
Message 1 of 5 in “git-p4: user preservation improvements”
  1. 0/2 git-p4: user preservation improvementsLuke Diamand, May 9, 2011
  2. 1/2 git-p4: small improvements to user-preservationLuke Diamand, May 9, 2011
  3. 2/2 git-p4: warn if git authorship won't be retainedLuke Diamand, May 9, 2011
  4. Pete WyckoffMay 9, 2011
  5. Pete WyckoffMay 9, 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.