git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rev-list does not output commit metadata (nor honor --format) when --use-bitmap-index is on
@ 2024-07-11 18:12 Jullyana Ramos
  2024-07-17  7:44 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Jullyana Ramos @ 2024-07-11 18:12 UTC (permalink / raw)
  To: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-17 20:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 18:12 rev-list does not output commit metadata (nor honor --format) when --use-bitmap-index is on Jullyana Ramos
2024-07-17  7:44 ` Jeff King
2024-07-17 15:46   ` Junio C Hamano
2024-07-17 20:45     ` [EXTERNAL] " Jullyana Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).