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
/
edit.py
diff --git
a/stgit/commands/edit.py
b/stgit/commands/edit.py
index 223c628addabfefb5e0357817595d397b11f36cf..02970bc8623758e10b454e2af52d58d85f44a4ca 100644
(file)
--- a/
stgit/commands/edit.py
+++ b/
stgit/commands/edit.py
@@
-57,6
+57,7
@@
rejected patch is stored in the .stgit-failed.patch file (and also in
these files using the '--file' and '--diff' options.
"""
+directory = DirectoryHasRepository()
options = [make_option('-d', '--diff',
help = 'edit the patch diff',
action = 'store_true'),