rev-list does not output commit metadata (nor honor --format) when --use-bitmap-index is on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What did you do before the bug happened? (Steps to reproduce your issue)
I ran "git rev-list --use-bitmap-index HEAD" to see history while taking advantage of bitmap index.

What did you expect to happen? (Expected behavior)
A list of commits to be output, including their metadata (message, author, etc.)

What happened instead? (Actual behavior)
Only the commit SHAs are being output, no matter what I pass to --format.
Note that this only reproduces if bitmap index has been created for the repository.

What's different between what you expected and what actually happened?
The commit metadata is missing.

Anything else you want to add:
I work for Microsoft at Visual Studio Git integration and I rely on the output of rev-list to populate commit data into the IDE.
I do not know if this change was intentional, but I can reproduce the issue with version 2.34.1 (Ubuntu) and 2.45.2 (Windows) and I could not reproduce it with version 2.3.5 (Windows). (I know, huge gap, my apologies) I did make sure this was a Git issue, not a Git for Windows issue.
I can reproduce it with a brand new repository. Create a commit, run rev-list, commit metadata is there. Generate bitmap index and metadata goes missing.


[System Info]
git version:
git version 2.45.2.windows.1
cpu: x86_64
built from commit: 91d03cb2e4fbf6ad961ace739b8a646868cb154d
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Windows 10.0 22631 
compiler info: gnuc: 14.1
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>


[Enabled Hooks]
not run from a git repository - no hooks to show




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux