MCPcopy
hub / github.com/Aider-AI/aider / cmd_commit

Method cmd_commit

aider/commands.py:337–342  ·  view source on GitHub ↗

Commit edits to the repo made outside the chat (commit message optional)

(self, args=None)

Source from the content-addressed store, hash-verified

335 # each one must take an args param.
336
337 def cmd_commit(self, args=None):
338 "Commit edits to the repo made outside the chat (commit message optional)"
339 try:
340 self.raw_cmd_commit(args)
341 except ANY_GIT_ERROR as err:
342 self.io.tool_error(f"Unable to complete commit: {err}")
343
344 def raw_cmd_commit(self, args=None):
345 if not self.coder.repo:

Callers 4

cmd_lintMethod · 0.95
test_cmd_commitMethod · 0.95
test_cmd_diffMethod · 0.95
mainFunction · 0.80

Calls 2

raw_cmd_commitMethod · 0.95
tool_errorMethod · 0.45

Tested by 2

test_cmd_commitMethod · 0.76
test_cmd_diffMethod · 0.76