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

[PATCH/RFC v4] git-p4: warn if git authorship won't be retained

From
Luke Diamand <luke@diamand.org>
Date
May 11, 2011, 00:26 UTC
Message-ID
<1305073561-24910-1-git-send-email-luke@diamand.org>

Updated version of git-p4 authorship warning suggested by Junio, incorporating fixes for problems in v2 pointed out by Peter Wyckoff.

In the previous version of this patch I forgot to add an && in the test harness.

Pete suggested doing "grep -q" however it turns out that this doesn't work - git-p4 explodes when it tries to do stdout.flush() at line 1588 in importChanges(). I can only imagine that grep -q does something very subtle to stdin.

Luke Diamand (1):
  git-p4: warn if git authorship won't be retained
 contrib/fast-import/git-p4     |   33 +++++++++++++++++++++++++++-
 contrib/fast-import/git-p4.txt |    7 ++++++
 t/t9800-git-p4.sh              |   46 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+), 2 deletions(-)
Next: Luke Diamand
Message 1 of 2 in “git-p4: warn if git authorship won't be retained”
  1. git-p4: warn if git authorship won't be retainedLuke Diamand, May 11, 2011
  2. git-p4: warn if git authorship won't be retainedLuke Diamand, May 11, 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.