Infrastructure for current directory handling
[stgit] / stgit / commands / id.py
index f72d2f3..3e28f2f 100644 (file)
@@ -33,6 +33,7 @@ the standard GIT id's like heads and tags, this command also accepts
 'top' or 'bottom' are passed and <patch> is a valid patch name, 'top'
 will be used by default."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-b', '--branch',
                        help = 'use BRANCH instead of the default one')]