chiark
/
gitweb
/
~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 1a9267a4f4d7d2fcee2f71543a71131a8035ecd9..e7cb275f849e372099cd59f4e25b0108484bac80 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')]