Merge "InitGitDir: Clean up created directories"
diff --git a/project.py b/project.py
index 1e3ab6b..9e8ee86 100644
--- a/project.py
+++ b/project.py
@@ -1881,8 +1881,6 @@
cmd.append('--quiet')
if not self.worktree:
cmd.append('--update-head-ok')
- if self.manifest.IsMirror:
- cmd.append('--prune')
cmd.append(name)
# If using depth then we should not get all the tags since they may
diff --git a/subcmds/info.py b/subcmds/info.py
index d42860a..ed196e9 100644
--- a/subcmds/info.py
+++ b/subcmds/info.py
@@ -59,7 +59,8 @@
or 'all,-notdefault')
self.heading("Manifest branch: ")
- self.headtext(self.manifest.default.revisionExpr)
+ if self.manifest.default.revisionExpr:
+ self.headtext(self.manifest.default.revisionExpr)
self.out.nl()
self.heading("Manifest merge branch: ")
self.headtext(mergeBranch)