mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 04:50:20 -06:00
Remove GOPATH special build
This commit is contained in:
committed by
Anthony Sottile
parent
c787efd558
commit
60a42e9419
@@ -93,11 +93,6 @@ def get_git_common_dir(git_root: str = '.') -> str:
|
||||
return get_git_dir(git_root)
|
||||
|
||||
|
||||
def get_remote_url(git_root: str) -> str:
|
||||
_, out, _ = cmd_output('git', 'config', 'remote.origin.url', cwd=git_root)
|
||||
return out.strip()
|
||||
|
||||
|
||||
def is_in_merge_conflict() -> bool:
|
||||
git_dir = get_git_dir('.')
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user