瀏覽代碼

Revert "Add --prune option to fetch when syncing a mirror repo"

For some users it is not desirable to remove refs that don't exist
on the remote server when syncing a mirror repo.

This reverts commit b4d43b9f664d6472b6c1e91c98f951037d00cea5.

Change-Id: Ie849b66682138ef88da6cd1a5fbb27e993197dd7
David Pursehouse 10 年之前
父節點
當前提交
86369a40c0
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      project.py

+ 0 - 2
project.py

@@ -1881,8 +1881,6 @@ class Project(object):
       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