summaryrefslogtreecommitdiffstats
path: root/subcmds/info.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/info.py')
-rw-r--r--subcmds/info.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/subcmds/info.py b/subcmds/info.py
index 76f5d1d6..f4d6f98c 100644
--- a/subcmds/info.py
+++ b/subcmds/info.py
@@ -16,7 +16,7 @@
16 16
17from command import PagedCommand 17from command import PagedCommand
18from color import Coloring 18from color import Coloring
19from git_refs import R_M 19from git_refs import R_M, R_HEADS
20 20
21 21
22class _Coloring(Coloring): 22class _Coloring(Coloring):
@@ -127,7 +127,10 @@ class Info(PagedCommand):
127 if not self.opt.local: 127 if not self.opt.local:
128 project.Sync_NetworkHalf(quiet=True, current_branch_only=True) 128 project.Sync_NetworkHalf(quiet=True, current_branch_only=True)
129 129
130 logTarget = R_M + self.manifest.manifestProject.config.GetBranch("default").merge 130 branch = self.manifest.manifestProject.config.GetBranch('default').merge
131 if branch.startswith(R_HEADS):
132 branch = branch[len(R_HEADS):]
133 logTarget = R_M + branch
131 134
132 bareTmp = project.bare_git._bare 135 bareTmp = project.bare_git._bare
133 project.bare_git._bare = False 136 project.bare_git._bare = False