~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
/
new.py
diff --git
a/stgit/commands/new.py
b/stgit/commands/new.py
index
59671ab
..
ccc8141
100644
(file)
--- a/
stgit/commands/new.py
+++ b/
stgit/commands/new.py
@@
-38,6
+38,7
@@
needed for this.
If no name is given for the new patch, one is generated from the first
line of the commit message."""
If no name is given for the new patch, one is generated from the first
line of the commit message."""
+directory = DirectoryHasRepository()
options = [make_option('-m', '--message',
help = 'use MESSAGE as the patch description'),
make_option('-s', '--showpatch',
options = [make_option('-m', '--message',
help = 'use MESSAGE as the patch description'),
make_option('-s', '--showpatch',