"Josh England" <jjengla@xxxxxxxxxx> writes: >> 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.c Why "git checkout otherbranch path.c" should be any different? - 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