From: Jonathan Nieder Date: Thu, 14 Jul 2011 19:45:52 GMT Subject: Re: How to force git to use authentication as author Message-ID: <20110714194552.GA14632@elie> In-Reply-To: Hi, Erik Faye-Lund wrote: > So let's step back a little bit. Why do you want the author to be > identical to the authenticated user in the first place? Is it to be > able to *prove* (i.e not trust the users that push) who wrote what > code? If so, let's me first tell you that giving someone push-access > while not trusting them is a bit crazy. But if you're happy with being > a bit crazy, you'd might want to somehow cryptographically sign the > commits instead. I'd go for PGP-signing the patch-id, and putting that > in a git-note. Let's suppose you want to be able to decide who was to blame for the latest breakage, not on a per-commit level but on a per-push level. Then that seems quite doable to me through simpler means, on the server side. See http://sitaramc.github.com/gitolite/doc/3-faq-tips-etc.html#_better_logging Hope that helps. Jonathan