Merge branch 'es/worktree-add-post-checkout-hook' into next
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Feb 2018 23:41:18 +0000 (15:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Feb 2018 23:41:18 +0000 (15:41 -0800)
commit6ef6a130bf2f9fc28fc26198bd62c35785d1bb85
tree4ea0c4212d2645d5b6cc3bca9742528ad089dfd9
parent5e68f3dac8daf369a8afbc46897f8642571d86be
parenta4bf1e3c2e4d0583a1822419fb54a566e6e46162
Merge branch 'es/worktree-add-post-checkout-hook' into next

"git worktree add" learned to run the post-checkout hook, just like
"git clone" runs it upon the initial checkout.

* es/worktree-add-post-checkout-hook:
  worktree: add: fix 'post-checkout' not knowing new worktree location
builtin/worktree.c
t/t2025-worktree-add.sh