chiark / gitweb /
Create index and worktree objects just once
[stgit] / stgit / commands / commit.py
index 1d741b36beffd7642bb5b7cbebc1b7bf0c4e9c03..bff94ceff9a01b5858f4c48923ec0f6f4f7fe15b 100644 (file)
@@ -68,7 +68,7 @@ def func(parser, options, args):
     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