Infrastructure for current directory handling
[stgit] / stgit / commands / top.py
index 1a9267a..e7cb275 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')]