Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge: Don't output commit message when merging ancestor #1021

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

craigds
Copy link
Member

@craigds craigds commented Nov 18, 2024

Description

When attempting to merge an ancestor of the current HEAD, no changes are made. However, kart merge -o json will output a commit message anyway, which is a bit misleading since no commit was made with that message.

This change sets the message in the JSON output to null

Related links:

Checklist:

  • Have you reviewed your own change?
  • Have you included test(s)?
  • Have you updated the changelog?

When attempting to merge an ancestor of the current HEAD, no changes are
made. However, `kart merge -o json` will output a commit message anyway,
which is a bit misleading since no commit was made with that message.

This change sets the `message` in the JSON output to `null`
@craigds craigds merged commit 60b702d into master Nov 18, 2024
17 of 18 checks passed
@craigds craigds deleted the merge-ancestor branch November 18, 2024 03:36
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.

2 participants