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

Re: BUG: commit-graph.c:1068 when doing `git pull`

From
Hherr.kaste <herr.kaste@gmail.com>
Date
Nov 2, 2020, 19:12 UTC
Message-ID
<CAFzd1+7VxaGGMVKicuy8KnWdZoBxEHY8xS9kK1VF0Tgai=Kcxg@mail.gmail.com>
In-Reply-To
<CAFzd1+7xQHgaOYKW7WZaWCPdp85Pfk8k_M-gVtBq6Wf7bbJTzg@mail.gmail.com>
A
    $ git commit-graph write
did the trick.

Let me know if you think there could be something useful to reproduce, somewhere.

Regards Caspar Duregger

Am Mo., 2. Nov. 2020 um 19:30 Uhr schrieb herr.kaste <herr.kaste@gmail.com>:
Show 31 quoted lines
>
> Hi all!
>
> I'm stuck with this error message
>
>     $ git pull
>     BUG: commit-graph.c:1068: missing parent
> 104f5eb377763b2ed9663e8949aed265b69f000f for commit
> c59ed9b7b6d4268ae6cb1069a9b51e02ad9aa1d8
>
> This happens since the last `fetch --prune origin`.
>
> If I do it again, I get
>
>     $ git pull
>     fatal: Unable to create 'C:/Users/c-flo/AppData/Roaming/Sublime
> Text 3/Packages/GitSavvy/.git/objects/info/commit-graphs/commit-graph-chain.lock':
> File exists.
>     ...
>
> And upon removing that file, I get the first error message again.
>
> I actually don't know yet how to move on from here.  I'm stuck, so I
> appreciate any help.
>
>     $ git --version
>     git version 2.29.2.windows.1
>
>
> Regards
> Caspar Duregger
Previous: herr.kasteNext: Taylor Blau
Message 2 of 4 in “BUG: commit-graph.c:1068 when doing `git pull`”
  1. herr.kasteNov 2, 2020
  2. herr.kasteNov 2, 2020
  3. Taylor BlauNov 12, 2020
  4. Ævar Arnfjörð BjarmasonNov 12, 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.