Merge branch 'es/worktree-add-post-checkout-hook'
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Feb 2018 21:37:53 +0000 (13:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Feb 2018 21:37:53 +0000 (13:37 -0800)
commit619e5218cbb9c9751d92cc5e090731bc55793cb0
tree49697257ac603ded6e39c9b6411979599b92dee4
parentc22c624a9de3576d6e66f81c3a1edc6dfcfb08bb
parenta4bf1e3c2e4d0583a1822419fb54a566e6e46162
Merge branch 'es/worktree-add-post-checkout-hook'

"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