diff --git a/git-sweep b/git-sweep index 6765601..f80c4ba 100755 --- a/git-sweep +++ b/git-sweep @@ -66,7 +66,7 @@ def git(arguments, path): def fetch(remote, path): """Download objects and refs from remote repository.""" - git(['fetch', remote], path=path) + git(['fetch', '--prune', remote], path=path) def remote_heads(remote, path):