chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / show.py
index 45ca253a58cdfe90bd2b5e9557db68bce691733b..7efb4e16ccb7e036e1e57c6a956478ce3d5b2c6e 100644 (file)
@@ -30,6 +30,7 @@ Show the commit log and the diff corresponding to the given
 patches. The output is similar to that generated by the 'git show'
 command."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-b', '--branch',
                        help = 'use BRANCH instead of the default one'),
            make_option('-a', '--applied',