chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / edit.py
index 223c628addabfefb5e0357817595d397b11f36cf..02970bc8623758e10b454e2af52d58d85f44a4ca 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'),