Thread (17 messages) flat view 17 messages, 9 authors, 2016-06-15

Re: GPG signing for git commit?

From: Sitaram Chamarty <hidden>
Date: 2016-06-15 22:46:37

On 2009-04-17, Jeff King [off-list ref] wrote:
quoted
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.
cool -- I didn't know this.  Thanks!

One last question: where do you set it, in the pre-commit
hook on the server?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help