Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite94df6a

Browse files
committed
1 parente9bd048 commite94df6a

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
ifremote_local_ref=="FETCH_HEAD":
273273
ref_type=SymbolicReference
274-
elifref_type_name=="branch":
274+
elifref_type_namein ("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
elifref_type_name=="tag":
277279
ref_type=TagReference

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp