summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-fat2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-fat b/git-fat
index 9d61cae..7edb7ba 100755
--- a/git-fat
+++ b/git-fat
@@ -389,6 +389,8 @@ class GitFat(object):
def filter_objects(self, refargs, patterns):
files = self.referenced_objects(**refargs) - self.catalog_objects()
+ if refargs.get('all'): # Currently ignores patterns; can we efficiently do both?
+ return files
orphans_matched = list(self.orphan_files(patterns))
orphans_objects = set(map(lambda x: x[0], orphans_matched))
return files & orphans_objects