Re: [PATCH] post-checkout hook, and related docs and tests
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 24, 2007, 18:34 UTC
- Message-ID
- <7vsl53ap5x.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1190654052.6078.14.camel@beauty>
"Josh England" <jjengla@sandia.gov> writes:
Show 5 quoted lines
>> What's the _semantics_ you are trying to achieve? > > I'd like to get a hook that runs whenever the working dir gets > updated. The 'git-checkout otherbranch path.c' case should > run it also, so I view that as a bug.
I think that _is_ INSANE. Do you run the hook for these then?
$ edit path.c
$ git-cat-file otherbranch:path.c >path.cWhy "git checkout otherbranch path.c" should be any different?