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
/
patches.py
diff --git
a/stgit/commands/patches.py
b/stgit/commands/patches.py
index fb65b621c4e90cc0ed309e80c09d91e59ea00c55..0b618fefa4ac6a1e2014a82f10beee1cd76b82f9 100644
(file)
--- a/
stgit/commands/patches.py
+++ b/
stgit/commands/patches.py
@@
-33,6
+33,7
@@
it shows the patches affected by the local tree modifications. The
'--diff' option also lists the patch log and the diff for the given
files."""
+directory = DirectoryHasRepository()
options = [make_option('-d', '--diff',
help = 'show the diff for the given files',
action = 'store_true'),