Why isn't there a hook for all operations that update the working tree?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]