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

Re: Who created a branch - reflog

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Mar 8, 2011, 15:11 UTC
Message-ID
<20110308151107.GW3609@genesis.frugalware.org>
In-Reply-To
<AANLkTimsz7OPfUF5j=xY6ro4uX4AQty+PzW-tG6TQbuW@mail.gmail.com>
On Tue, Mar 08, 2011 at 06:57:38AM -0800, Shawn Pearce <spearce@spearce.org> wrote:
Show 11 quoted lines
> 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!
Previous: Shawn Pearce
Message 3 of 3 in “Who created a branch - reflog”
  1. Miklos VajnaMar 8, 2011
  2. Shawn PearceMar 8, 2011
  3. Miklos VajnaMar 8, 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.