author | Jeff King <peff@peff.net> | |
Tue, 3 Mar 2009 05:37:51 +0000 (00:37 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Mar 2009 07:50:44 +0000 (23:50 -0800) | ||
commit | dfa7a6c579d75037b9dd5c3654a36d31c60f203c | |
tree | 706498a98c9d358dfbb397e2a99aaec542afdd7e | tree | snapshot |
parent | f474c526618d5d1111b585a6344e012fb731d3fe | commit | diff |
clone: run post-checkout hook when checking out
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>
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>
builtin-clone.c | diff | blob | history | |
t/t5403-post-checkout-hook.sh | diff | blob | history |