chiark / gitweb /
Infrastructure for current directory handling
[stgit] / stgit / commands / top.py
index 1a9267a4f4d7d2fcee2f71543a71131a8035ecd9..e7cb275f849e372099cd59f4e25b0108484bac80 100644 (file)
@@ -30,6 +30,7 @@ usage = """%prog [options]
 
 Print the name of the current (topmost) patch."""
 
+directory = DirectoryHasRepository()
 options = [make_option('-b', '--branch',
                        help = 'use BRANCH instead of the default one')]