chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create index and worktree objects just once
[stgit]
/
stgit
/
commands
/
commit.py
diff --git
a/stgit/commands/commit.py
b/stgit/commands/commit.py
index 1d741b36beffd7642bb5b7cbebc1b7bf0c4e9c03..bff94ceff9a01b5858f4c48923ec0f6f4f7fe15b 100644
(file)
--- a/
stgit/commands/commit.py
+++ b/
stgit/commands/commit.py
@@
-68,7
+68,7
@@
def func(parser, options, args):
if not patches:
raise common.CmdException('No patches to commit')
if not patches:
raise common.CmdException('No patches to commit')
- iw = stack.repository.default_iw
()
+ iw = stack.repository.default_iw
trans = transaction.StackTransaction(stack, 'stg commit')
try:
common_prefix = 0
trans = transaction.StackTransaction(stack, 'stg commit')
try:
common_prefix = 0