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

Re: REMOTE_USER value propagation through http push

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 13, 2011, 16:32 UTC
Message-ID
<m3k4ey2jvn.fsf@localhost.localdomain>
In-Reply-To
<12538384.27708.1302706703346.JavaMail.www@wwinf8204>
Axel <axel.ml@laposte.net> writes:
Show 8 quoted lines
> Jakub Narebski wrote:
> > 
> > Nope, at the time of push commits are already created, and author and 
> > committer info are already set in stone, and not possible to change 
> > without rewriting commits.
> 
> I will dive further into the links you gave. I think I'll sacrify
> the credentials information then for the moment.

What you can do in _distributed_ version control system such as git is to ensure that pushed *existing* commits (created on client) match credentials.

That is opposed to situation in _centralized_ version control system where credentials are used to *create* commits on server.

> Is there a chance that we ll see one day this third level of
> information (the authentication credentials) added to the push and
> displayed by gitweb ?

Well, git by itself doesn't log authentication credentials. In the reflog you have user which git is running as, and only if push was done via smart protocol (and core.logAllRefUpdates is true on server).

So it is unlikely for gitweb to display e.g. gitolite logs... well, unless gitolite would adds it to gitweb via some pluggable mechanism like $feature{'actions'}.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: axel.ml@laposte.net
Message 8 of 8 in “REMOTE_USER value propagation through http push”
  1. AxelApr 13, 2011
  2. Jakub NarebskiApr 13, 2011
  3. axel.ml@laposte.netApr 13, 2011
  4. Jakub NarebskiApr 13, 2011
  5. axel.ml@laposte.netApr 13, 2011
  6. Jakub NarebskiApr 13, 2011
  7. axel.ml@laposte.netApr 13, 2011
  8. Jakub NarebskiApr 13, 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.