chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / new.py
index 59671abecd0feed9866b6f39117b6e6d71b80edf..ccc8141d5419ead7492792ebb6a921107aaf85ea 100644 (file)
@@ -38,6 +38,7 @@ needed for this.
 If no name is given for the new patch, one is generated from the first
 line of the commit message."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-m', '--message',
                        help = 'use MESSAGE as the patch description'),
            make_option('-s', '--showpatch',