[QUESTION] Tracking HEAD changes?
- From
Yaron Wittenstein <yaron.wittenstein@gmail.com>
- Date
- Feb 22, 2021, 09:12 UTC
- Message-ID
- <CAGgn8PdU1GE_CZdGUpJWKzygd0O+Yn2BnAFGmPfKAxFpoVoqUA@mail.gmail.com>
Hi,
Is there any possible way to track changes to HEAD using hooks?
Being able to listen using hooks to events such as pre-head-checkout and post-head-checkout would be the best option (from my perspective).
To my knowledge, the only possible way to do that today is by adding a file watch over the refs directory.
Thank you!
Yaron