Browse Source
git-p4 would attempt to find the git directory using its own specific code, which did not know about git worktrees. Rework it to use "git rev-parse --git-dir" instead. Add test cases for worktree usage and specifying git directory via --git-dir and $GIT_DIR. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Luke Diamand
8 years ago
committed by
Junio C Hamano
3 changed files with 65 additions and 4 deletions
Loading…
Reference in new issue