From: Eric Sunshine Date: Tue, 01 Mar 2016 19:15:57 GMT Subject: Re: [PATCH v2] git-p4: map a P4 user to Git author name and email address Message-ID: In-Reply-To: <1456829396-38659-1-git-send-email-larsxschneider@gmail.com> On Tue, Mar 1, 2016 at 5:49 AM, wrote: > Map a P4 user to a specific name and email address in Git with the > "git-p4.mapUser" config. The config value must be a string adhering > to the format "p4user = First Lastname ". > > Signed-off-by: Lars Schneider > --- > diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt > +git-p4.mapUser:: > + Map a P4 user to a name and email address in Git. Use a string > + with the following format to create a mapping: > ++ > +------------- > +git config --add git-p4.mapUser "p4user = First Last " > +------------- > ++ > +A mapping will override any user information from P4. Mappings for > +multiple P4 user can be defined. Sorry for not paying closer attention the first time, but this needs to be repeated for each P4 user you want to map, right? One can imagine this quickly becoming painful if you have a lot of users to map. Have you considered modeling this after git-svn where you can set an "authors" file (and name the corresponding option --authors-file)?