Skip to content

Commit 5488db9

Browse files
committed
added missing index.write
1 parent ffb1619 commit 5488db9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

codetide/agents/tide/agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ async def _stage(self)->str:
191191
for path in self.changed_paths:
192192
index.add(path)
193193

194+
index.write()
195+
194196
staged_diff = await self.get_git_diff_staged_simple(self.tide.rootpath)
195197
staged_diff = staged_diff.strip()
196198
return staged_diff if staged_diff else "No files were staged. Nothing to commit. Tell the user to request some changes so there is something to commit"

0 commit comments

Comments
 (0)