Skip to content

feat: add git committer attribution for Pane IDE#1

Merged
parsakhaz merged 3 commits into
mainfrom
move-repo
Feb 27, 2026
Merged

feat: add git committer attribution for Pane IDE#1
parsakhaz merged 3 commits into
mainfrom
move-repo

Conversation

@parsakhaz

Copy link
Copy Markdown
Member

Summary

  • Add GIT_ATTRIBUTION_ENV constant in main/src/utils/attribution.ts — single place to update committer name/email
  • Inject attribution env vars into all 7 process spawn points (pty terminals, CLI tools, exec calls)
  • Update all Co-Authored-By trailers from foozol to Pane <use-pane@users.noreply.github.com>

Test plan

  • Make a commit through a terminal panel and verify committer shows as "Pane" on GitHub
  • Make a commit through the Claude Code panel and verify attribution
  • Make a commit via the file editor commit feature and verify attribution
  • Verify squash-and-rebase commits include attribution

The --cd flag is broken on WSL 2.5.9.0+ for Linux paths, causing
E_INVALIDARG and ERROR_PATH_NOT_FOUND errors when opening terminal
panels or running scripts in WSL projects.

Replace all --cd usage with bash -c "cd ... && ..." which works
on all WSL versions and is consistent with how wrapCommandForWSL
already executes commands.
Inject GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL into all spawned
processes so commits made through Pane show "committed by Pane" on
GitHub, linking to the use-pane account. Also updates Co-Authored-By
trailers from foozol to Pane.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant