Tags: ezyang/codemcp
Tags
feat: add config option to disable automatic Git commands codemcp makes does Git commits to keep track of writes and edits it makes to files, as well as to snapshot state of repo before and after it runs commands. Add a configuration option to codemcprc that optionally disables all of this, so that we NEVER issue any git commands automatically. ```git-revs 76f826f (Base revision) eaef646 Add git.enabled to default configuration d42c38c Add git_operations_enabled function to check if Git operations are enabled 3d05ab9 Import git_operations_enabled from config 4211fdc Add check for disabled Git operations in create_commit_reference 274fe31 Update commit_changes docstring to mention git operations disabled case d0ad8d4 Add check for disabled Git operations in commit_changes ed91c17 Import git_operations_enabled from config 55c638f Update check_git_tracking_for_existing_file to handle disabled Git operations fac57d5 Add missing logging import e9f9ee1 Fix duplicate logging import ad2a7d6 Add git.enabled config option to README f093df5 Auto-commit format changes HEAD Add end-to-end tests for Git operations disabled functionality ``` codemcp-id: 274-feat-add-config-option-to-disable-automatic-git-co ghstack-source-id: 084ab9c Pull-Request-resolved: #264