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
/
goto.py
diff --git
a/stgit/commands/goto.py
b/stgit/commands/goto.py
index a4427faae58d6415611bceb7c48771586cca9aec..9e008a9e1a660e3f7719aca2be10df4d79747179 100644
(file)
--- a/
stgit/commands/goto.py
+++ b/
stgit/commands/goto.py
@@
-31,6
+31,7
@@
line becomes current. This is a shortcut for the 'push --to' or 'pop
--to' commands. There is no '--undo' option for 'goto'. Use the 'push'
command for this."""
+directory = DirectoryHasRepository()
options = [make_option('-k', '--keep',
help = 'keep the local changes when popping patches',
action = 'store_true')]