Inconsistent Reflog Entry Format Missing Commit Messages
rsantanatech opened this issue · comments
Steps to reproduce:
- Start from a new clean local repository.
- Create a few commits (
git commit -m "<any message>"
) - 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.
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