From 799aeb891580fcecc9ad5460120a476a9b1f956f Mon Sep 17 00:00:00 2001 From: Jed Brown Date: Wed, 12 Mar 2014 11:52:58 -0600 Subject: filter_objects: files is already a set --- git-fat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'git-fat') diff --git a/git-fat b/git-fat index 092ec26..484ebcd 100755 --- a/git-fat +++ b/git-fat @@ -389,12 +389,11 @@ class GitFat(object): def filter_objects(self, refargs, patterns): files = self.referenced_objects(**refargs) - self.catalog_objects() - files_set = set(files) orphans_matched = list(self.orphan_files(patterns)) print("pulling:") print(map(lambda x: x[1], orphans_matched)) orphans_objects = set(map(lambda x: x[0], orphans_matched)) - return files_set & orphans_objects + return files & orphans_objects def cmd_checkout(self, args): self.checkout(show_orphans=True) -- cgit v1.2.1