Infrastructure for current directory handling
[stgit] / stgit / commands / edit.py
index 223c628..02970bc 100644 (file)
@@ -57,6 +57,7 @@ rejected patch is stored in the .stgit-failed.patch file (and also in
 these files using the '--file' and '--diff' options.
 """
 
+directory = DirectoryHasRepository()
 options = [make_option('-d', '--diff',
                        help = 'edit the patch diff',
                        action = 'store_true'),