~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
fb65b62
..
0b618fe
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'),