Second attempt at teaching git-p4 about worktrees. Earlier discussion here: http://marc.info/?l=git&m=148097985622294 Git-p4 exports GIT_DIR so that when it chdirs into the P4 client area to apply the change, git commands called from there will work correctly. Luke Diamand (1): git-p4: support git worktrees git-p4.py | 47 ++++++++++++++++++++++++++--------------------- t/t9800-git-p4-basic.sh | 20 ++++++++++++++++++++ 2 files changed, 46 insertions(+), 21 deletions(-) -- 2.8.2.703.g78b384c.dirty