Merge pull request #662 from errsyn/worktree_adjust_gitdir · lircs/pre-commit-hooks@cb02c5b · GitHub
Skip to content

Commit cb02c5b

Browse files
authored
Merge pull request pre-commit#662 from errsyn/worktree_adjust_gitdir
Adjust git dir when checking for merge in worktree
2 parents f9ba5db + 07af540 commit cb02c5b

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

pre_commit_hooks/check_merge_conflict.py

Lines changed: 8 additions & 5 deletions

tests/check_merge_conflict_test.py

Lines changed: 12 additions & 0 deletions

0 commit comments

Comments
 (0)