Re: Who created a branch - reflog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 08, 2011 at 06:57:38AM -0800, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:
> reflog identity entries are derived from GIT_COMMITTER_NAME and
> GIT_COMMITTER_EMAIL in the environment at the time that the log event
> takes place. If these aren't set, they are derived from the current
> user's gecos, or from $GIT_DIR/config or ~/.gitconfig as the
> user.name/user.email variables.
> 
> Perhaps over SSH one of these is triggering for a user, allowing the
> user to fill in their own identity... or someone else's. If you want
> to enforce an identity you should set these environment variables on
> the SSH server side before invoking git-receive-pack, perhaps by way
> of a forced SSH command the way gitosis or gitolite is installed.

Then once I'm sure the users can't alter their identity on the server,
the same can be achieved using ssh as with http.

Great, that's exactly what I was needed. :)

Thanks!

Attachment: pgpL0FMkal4tR.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]