clone: run post-checkout hook when checking out
authorJeff King <peff@peff.net>
Tue, 3 Mar 2009 05:37:51 +0000 (00:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Mar 2009 07:50:44 +0000 (23:50 -0800)
The mental model for clone is that the branch is "checked
out" (and it even says this in Documentation/git-clone.txt:
"...creates and checks out an initial branch"). Therefore it
is reasonable for users to expect that any post-checkout
hook would be run.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found