git-p4: add option to preserve user names
authorLuke Diamand <luke@diamand.org>
Thu, 21 Apr 2011 19:50:23 +0000 (20:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Apr 2011 18:10:46 +0000 (11:10 -0700)
commit3ea2cfd488ed70e03d8d6f10e601784926db8008
tree9a25f2d242297b5a6e66c4c5f0f88c5796d37a7a
parentec014eac0e9e6f30cbbca616090fa2ecf74797e7
git-p4: add option to preserve user names

Patches from git passed into p4 end up with the committer being identified
as the person who ran git-p4.

With "submit --preserve-user", git-p4 modifies the p4 changelist (after it
has been submitted), setting the p4 author field.

The submitter is required to have sufficient p4 permissions or git-p4
refuses to proceed. If the git author is not known to p4, the submit will
be abandoned unless git-p4.allowMissingP4Users is true.

Signed-off-by: Luke Diamand <luke@diamand.org>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
contrib/fast-import/git-p4.txt
t/t9800-git-p4.sh