Skip to content

Commit e94df6a

Browse files
committed
1 parent e9bd048 commit e94df6a

File tree

2 files changed

+435
-425
lines changed

2 files changed

+435
-425
lines changed

git/remote.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ def _from_line(cls, repo, line, fetch_line):
271271
ref_type = None
272272
if remote_local_ref == "FETCH_HEAD":
273273
ref_type = SymbolicReference
274-
elif ref_type_name == "branch":
274+
elif ref_type_name in ("remote-tracking", "branch"):
275+
# note: remote-tracking is just the first part of the 'remote-tracking branch' token.
276+
# We don't parse it correctly, but its enough to know what to do, and its new in git 1.7something
275277
ref_type = RemoteReference
276278
elif ref_type_name == "tag":
277279
ref_type = TagReference

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy