'git worktree add' does not fire post-checkout hook
- From
Gumbel, Matthew K <matthew.k.gumbel@intel.com>
- Date
- Dec 6, 2017, 21:00 UTC
- Message-ID
- <DA0A42D68346B1469147552440A64503C60832DB@ORSMSX105.amr.corp.intel.com>
Hello all,
I've noticed that when I run 'git worktree add /path/to/new/tree', the post-checkout hook does not fire, even though the worktree manpage explicitly states that "worktree add" will, "Create <path> and checkout <branch> into it."
Is this the intended behavior? Seems like maybe a bug, but I'm not sure.
Thanks Matt