feat(git): support custom commit flags for app-run commits#977
feat(git): support custom commit flags for app-run commits#9770xnim wants to merge 1 commit intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required. |
|
The worker errors seem to be pre existing |
|
Apologies, I never realized that was the reason you don't pr from main. I'll do it now. |

Related to #274.
What Changed
git commitflagsgit commitflags, so users can configure flags like--no-gpg-signWhy
T3 Code runs
git commitnon-interactively. On a machine with globalcommit.gpgsign=true, commits can fail because GPG prompts for a pass on/dev/tty, which does not exist in this case.This PR does NOT add interactive GPG/password support. Instead its a small workaround fix, users can configure extra commit flags for app run commits, which makes setups like
--no-gpg-signpossible without changing their global git configUI Changes
Adds a new Settings field under Git for extra git commit flags
Checklist
Note
Add custom git commit flags support for app-run commits
gitCommitFlagsfield to app settings (max 4096 chars), configurable via a new 'Extra git commit flags' input in the Git settings UI.GitCore.commitaccepts an optionalextraArgsarray inserted before the-mflag in the git command.runCommitSteptokenizes the rawcommitFlagsstring and forwards the result toGitCore.commit; the full path from UI → mutation → API → git command is wired end-to-end.runStackedActionnow include user-configured flags if set; with no flags configured, behavior is unchanged.Macroscope summarized 5a57ada.