git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disallow amending published commits?
@ 2009-03-21 17:56 James Pickens
  2009-03-21 18:46 ` Peter Harris
  2009-03-22  2:42 ` Jeff King
  0 siblings, 2 replies; 9+ messages in thread
From: James Pickens @ 2009-03-21 17:56 UTC (permalink / raw)
  To: Git ML

I wanted to have a pre-commit hook that would prevent users from
amending a commit that had already been published, but I couldn't
find any way in the pre-commit hook to figure out if --amend was
used.  Is there a way to do that?  Or any better way to disallow
amending published commits?

Thanks
James

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-22 15:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-21 17:56 Disallow amending published commits? James Pickens
2009-03-21 18:46 ` Peter Harris
2009-03-21 22:49   ` James Pickens
2009-03-22  1:53     ` Peter Harris
2009-03-22  2:57       ` Peter Harris
2009-03-22  4:09       ` James Pickens
2009-03-22 14:19         ` Peter Harris
2009-03-22 15:15         ` Nicolas Sebrecht
2009-03-22  2:42 ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).