chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / fold.py
index d97185e2aeda6d5e522f0f412ec0bc557c0115cc..6e431012f4644a55bec353b7449c8d0e6694f154 100644 (file)
@@ -34,6 +34,7 @@ performed with the current top. With the --base option, the patch is
 applied onto the specified base and a three-way merged is performed
 with the current top."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-t', '--threeway',
                        help = 'perform a three-way merge with the current patch',
                        action = 'store_true'),