git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC v2 0/2] git-p4: user preservation improvements
@ 2011-05-09  6:40 Luke Diamand
  2011-05-09  6:40 ` [PATCH/RFC v2 1/2] git-p4: small improvements to user-preservation Luke Diamand
  0 siblings, 1 reply; 5+ messages in thread
From: Luke Diamand @ 2011-05-09  6:40 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Pete Wyckoff, Luke Diamand

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(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-09 22:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09  6:40 [PATCH/RFC v2 0/2] git-p4: user preservation improvements Luke Diamand
2011-05-09  6:40 ` [PATCH/RFC v2 1/2] git-p4: small improvements to user-preservation Luke Diamand
2011-05-09  6:40   ` [PATCH/RFC v2 2/2] git-p4: warn if git authorship won't be retained Luke Diamand
2011-05-09 22:39     ` Pete Wyckoff
2011-05-09 22:30   ` [PATCH/RFC v2 1/2] git-p4: small improvements to user-preservation Pete Wyckoff

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 NNTP newsgroup(s).