It was really suprising when I find out that GIT_DIR variable is missing in 
some hooks.

I want to run hook before executing `git pull --rebase` command, so I use 
`pre-rebase` hook for that. There is GIT_DIR variable in my script and as I 
see it is unset.

Is it expected behaviour or bug?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to