~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Infrastructure for current directory handling
[stgit]
/
stgit
/
commands
/
top.py
diff --git
a/stgit/commands/top.py
b/stgit/commands/top.py
index
1a9267a
..
e7cb275
100644
(file)
--- a/
stgit/commands/top.py
+++ b/
stgit/commands/top.py
@@
-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')]