Skip to content

fix: use real commit message for initial PR branch commit#119

Open
edmondop wants to merge 1 commit intoLucioFranco:mainfrom
edmondop:upstream/fix-initial-pr-commit-message
Open

fix: use real commit message for initial PR branch commit#119
edmondop wants to merge 1 commit intoLucioFranco:mainfrom
edmondop:upstream/fix-initial-pr-commit-message

Conversation

@edmondop
Copy link
Copy Markdown
Contributor

Summary

  • When creating a new PR with jj spr diff, the git commit pushed to the PR branch uses the hardcoded string [jj-spr] initial version instead of the actual commit title
  • The GitHub PR title/body are already correct (taken from the commit message); this only affects the git commit on the PR branch
  • One-line fix: use the parsed commit title as the fallback instead of the hardcoded string

Test plan

  • All existing tests pass
  • Clippy clean

🤖 Generated with Claude Code

When creating a new PR, the git commit pushed to the PR branch used
the hardcoded string "[jj-spr] initial version" instead of the actual
commit title. The GitHub PR title/body were correct, but the git
commit on the branch had a generic message.

Use the parsed commit title as the fallback instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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