git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why isn't there a hook for all operations that update the working tree?
@ 2011-07-28 11:59 Ævar Arnfjörð Bjarmason
  2011-08-04  1:56 ` Neal Kreitzinger
  2011-08-04  2:06 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-07-28 11:59 UTC (permalink / raw)
  To: Git Mailing List

I have a repository where I'd like to run a program every time the
working tree is updated. githooks(5) specifies that you can use
post-{checkout,merge} hooks to hook into those two operations.

However that doesn't catch e.g. "git reset --hard". Is there any
reason beside omission that there isn't a post-reset hook? Or hooks
for any other thing (most of which surely slip my mind) which can
update the working tree?

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

end of thread, other threads:[~2011-08-04  2:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 11:59 Why isn't there a hook for all operations that update the working tree? Ævar Arnfjörð Bjarmason
2011-08-04  1:56 ` Neal Kreitzinger
2011-08-04  2:06 ` 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).