Re: GPG signing for git commit?
- From
Jeff King <peff@peff.net>
- Date
- Apr 17, 2009, 12:01 UTC
- Message-ID
- <20090417120110.GC29121@coredump.intra.peff.net>
- In-Reply-To
- <slrngufuke.1am.sitaramc@sitaramc.homelinux.net>
On Fri, Apr 17, 2009 at 03:42:07AM +0000, Sitaram Chamarty wrote:
Show 7 quoted lines
> > Uhm, yea. That's a fault of gitosis then. It knows the key that > > was used, and has that mapped back to some token that identifies that > > account in the configuration file. Why it doesn't push that into the > > GIT_COMMITTER_* environment before launching git-shell, I don't know. > > If you set GIT_COMMITTER_*, won't it change the SHA of the > commit itself? I always thought so...
No. Pushing will never create a new commit, so there are no new SHA-1s calculated. But the reflog entry will contain GIT_COMMITTER_*, and is a simple text file.
-Peff