git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pre-rebase safety hook
@ 2008-12-04 17:58 Tim Harper
  2008-12-04 19:35 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Harper @ 2008-12-04 17:58 UTC (permalink / raw)
  To: Git Mailing List

Is anyone aware of a pre-rebase hook script that will prevent (or at
least warn) you from letting a rebase rewrite a commit that has been
pushed or merged into any branch except it's own?

I've activated the pre-rebase.sample, and it does seem to give me any
warnings at all:

Here's the terminal output demonstrating what I mean:

http://pastie.org/331082

Thanks!

Tim

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

end of thread, other threads:[~2008-12-04 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04 17:58 pre-rebase safety hook Tim Harper
2008-12-04 19:35 ` Junio C Hamano
2008-12-04 22:29   ` Junio C Hamano

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).