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

Inconsistent Reflog Entry Format Missing Commit Messages #139

Open
rsantanatech opened this issue Feb 16, 2024 · 0 comments · May be fixed by #140
Open

Inconsistent Reflog Entry Format Missing Commit Messages #139

rsantanatech opened this issue Feb 16, 2024 · 0 comments · May be fixed by #140

Comments

@rsantanatech
Copy link

rsantanatech commented Feb 16, 2024

Steps to reproduce:

  1. Start from a new clean local repository.
  2. Create a few commits (git commit -m "<any message>")
  3. Execute reflog command (git reflog)

Expected result: for each entry in the reflog that the reason is a commit, the expected format is <commit id> HEAD@{<integer>}: commit: <commit message>

Actual result: for each entry in the reflog that the reason is a commit, the current format is <commit id> HEAD@{<integer>}: commit:. Note that the commit message does not exist.

See screenshot below:
image

The commit message is important because an important use case of the reflog is to recover lost commits, in which case the user recovers through the message

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 a pull request may close this issue.

1 participant