Infrastructure for current directory handling
[stgit] / stgit / commands / clean.py
index 2e3b202..d8bbe71 100644 (file)
@@ -31,6 +31,7 @@ Delete the empty patches in the whole series or only those applied or
 unapplied. A patch is considered empty if the two commit objects
 representing its boundaries refer to the same tree object."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-a', '--applied',
                        help = 'delete the empty applied patches',
                        action = 'store_true'),