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

Retrying a multi-line commit move "commit description" to "commit summary" panel #3252

Closed
watson28 opened this issue Jan 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@watson28
Copy link

Describe the bug
When Retrying a multi-line commit, the initial content of the "commit description" appears in the "commit summary".

To Reproduce
Steps to reproduce the behavior:

  1. add changes (that makes a pre-commit fail) and stage them.
  2. in files panel, press "c" to Create a commit using the "commit summary" and "commit description" panels
  3. Commit fails because of 1.
  4. in the files panel, press "c" to try to commit the changes again.

Expected behavior
The "commit summary" and "commit description" are populated with the initial values.

Actual behavior
the "commit description" first line appears in the "commit summary."

Screenshots
first commit

retry commit 2

Version info:
commit=, build date=, build source=unknown, version=0.40.2, os=linux, arch=arm64, git version=2.41.0
git version 2.41.0

Additional context
If I try to commit a third time, then the "commit summary" and "commit description" are shown correctly.

@watson28 watson28 added the bug Something isn't working label Jan 24, 2024
@stefanhaller
Copy link
Collaborator

Already fixed on master, see #3170.

@watson28
Copy link
Author

Great. I will close this and wait for the next release, hopefully soon 🙏 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants