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 2 commits 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. |
# Conflicts: # apps/server/src/git/Layers/GitCore.test.ts # apps/web/src/components/GitActionsControl.tsx

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 to app-run commits
gitCommitFlagsstring field toAppSettingsSchemaand acommitFlagsfield to theGitRunStackedActionInputAPI contract, allowing users to pass arbitrary flags to git commit.tokenizeCommitFlagshelper in GitManager.ts and injected into the git CLI args inGitCore.commit.GitActionsControlreadssettings.gitCommitFlagsand forwards it through the mutation chain to the backend when non-empty.Macroscope summarized 55e0309.