diff options
Diffstat (limited to 'lib/git/remote.py')
-rw-r--r-- | lib/git/remote.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/git/remote.py b/lib/git/remote.py index 8442e809..8c75b1db 100644 --- a/lib/git/remote.py +++ b/lib/git/remote.py @@ -21,9 +21,9 @@ from refs import ( TagReference ) -from gitdb.util import ( - join, - ) +from git.util import join_path +from gitdb.util import join + import re import os @@ -366,7 +366,7 @@ class FetchInfo(object): if ref_type is SymbolicReference: remote_local_ref = ref_type(repo, "FETCH_HEAD") else: - remote_local_ref = Reference.from_path(repo, join(ref_type._common_path_default, remote_local_ref.strip())) + remote_local_ref = Reference.from_path(repo, join_path(ref_type._common_path_default, remote_local_ref.strip())) # END create ref instance note = ( note and note.strip() ) or '' |