chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / patches.py
index fb65b621c4e90cc0ed309e80c09d91e59ea00c55..0b618fefa4ac6a1e2014a82f10beee1cd76b82f9 100644 (file)
@@ -33,6 +33,7 @@ it shows the patches affected by the local tree modifications. The
 '--diff' option also lists the patch log and the diff for the given
 files."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-d', '--diff',
                        help = 'show the diff for the given files',
                        action = 'store_true'),