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
/
delete.py
diff --git
a/stgit/commands/delete.py
b/stgit/commands/delete.py
index 2121015461f27ad43dec499fa2babd70f2476b17..84628571c21ed4ee2300308af6f4b5bcd1cc830a 100644
(file)
--- a/
stgit/commands/delete.py
+++ b/
stgit/commands/delete.py
@@
-36,6
+36,7
@@
patches are deleted, they are popped from the stack.
Note that the 'delete' operation is irreversible."""
+directory = DirectoryHasRepository()
options = [make_option('-b', '--branch',
help = 'use BRANCH instead of the default one')]