git/list[1] front-page[2] threads[3] people[4] search[5] about
 

2.29.0.rc0.windows.1: Duplicate commit id error message when fetching

From
Thomas Braun <thomas.braun@virtuell-zuhause.de>
Date
Oct 7, 2020, 20:28 UTC
Message-ID
<55f8f00c-a61c-67d4-889e-a9501c596c39@virtuell-zuhause.de>
Hi,
I'm using

$ git --version git version 2.29.0.rc0.windows.1

Since I upgraded to that version (thanks to dscho for providing these so early) I'm seeing occasionally

$ git fetch origin +refs/head/abcd:refs/remotes/origin/abcd fatal: unexpected duplicate commit id 31a13139875bc5f49ddcbd42b4b4d3dc18c16576

The local branch abcd is at

$ git rev-parse HEAD b6ae1ee2adcb75aee09c4a8d72bfd66f32f6fae1

while its remote tracking branch is at

$ git rev-parse @{u} 31a13139875bc5f49ddcbd42b4b4d3dc18c16576

I have pull.rebase=true set but I think this does not matter for fetch. I do have protocol V2 enabled.

A full trace is

$ GIT_TRACE=1 git fetch origin +refs/heads/abcd:refs/remotes/origin/abcd 22:23:42.016859 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin 22:23:42.018858 git.c:444 trace: built-in: git fetch origin +refs/heads/abcd:refs/remotes/origin/abcd 22:23:42.020858 run-command.c:663 trace: run_command: unset GIT_PREFIX; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git@github.com 'git-upload-pack '\''XXX/YYY.git'\''' 22:23:43.284643 run-command.c:663 trace: run_command: git rev-list --objects --stdin --not --all --quiet --alternate-refs 22:23:43.344644 run-command.c:663 trace: run_command: git rev-list --objects --stdin --not --all --quiet --alternate-refs 22:23:43.358613 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 22:23:43.360614 git.c:444 trace: built-in: git rev-list --objects --stdin --not --all --quiet --alternate-refs 22:23:43.492616 run-command.c:1617 run_processes_parallel: preparing to run up to 1 tasks 22:23:43.492616 run-command.c:1649 run_processes_parallel: done fatal: unexpected duplicate commit id 31a13139875bc5f49ddcbd42b4b4d3dc18c16576

The repo is public, so if it helps I can provide a link.
Anything I'm doing wrong here?

Thanks, Thomas

Next: Jeff King
Message 1 of 14 in “2.29.0.rc0.windows.1: Duplicate commit id error message when fetching”
  1. Thomas BraunOct 7, 2020
  2. Jeff KingOct 7, 2020
  3. Thomas BraunOct 8, 2020
  4. Jeff KingOct 8, 2020
  5. Derrick StoleeOct 8, 2020
  6. Derrick StoleeOct 8, 2020
  7. Thomas BraunOct 9, 2020
  8. Derrick StoleeOct 9, 2020
  9. Thomas BraunOct 9, 2020
  10. Derrick StoleeOct 9, 2020
  11. Jeff KingOct 9, 2020
  12. Taylor BlauOct 9, 2020
  13. Derrick StoleeOct 9, 2020
  14. Taylor BlauOct 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.