Re: git checkout exit value and post-commit hooks

2017-03-14 Thread Andreas Politz
Junio C Hamano writes: > Andreas Politz writes: > >> the exit value of a `git checkout' seems to depend on the exit values of >> the hooks it runs. This breaks for example `git bisect', as seen in the >> following example. > > I am a bit puzzled

Re: git checkout exit value and post-commit hooks

2017-03-14 Thread Junio C Hamano
Andreas Politz writes: > the exit value of a `git checkout' seems to depend on the exit values of > the hooks it runs. This breaks for example `git bisect', as seen in the > following example. I am a bit puzzled why you have "checkout" and "post-commit" on the

git checkout exit value and post-commit hooks

2017-03-13 Thread Andreas Politz
Hi, the exit value of a `git checkout' seems to depend on the exit values of the hooks it runs. This breaks for example `git bisect', as seen in the following example. $ mkdir gitbug $ cd gitbug $ git init $ ln -s /bin/false .git/hooks/post-commit $ git bisect start $ git bisect reset fatal: