0

I'm trying to git pull after coming back from the holidays and I'm running into this error:

$git pull
remote: Azure Repos
remote: Found 499 objects to send. (105 ms)
fatal: pack has bad object at offset 2460869627: inflate returned 1
fatal: fetch-pack: invalid index-pack output

According to all the other similar posts I've seen, the problem is related to large files over unstable internet. However, I checked the git log and it seems I'm missing only one commit a972c3de and the contents of this commit is only a 5 line documentation change.

I'm confused on a couple different fronts: why does my pull find 499 objects to send if I'm only pulling one commit? Is there something about the nature of git pull that I'm missing? And how do I fix this issue?

$git log
commit 81002f8ee963b75aa1fc2c3472f6cc7b585d0c97 (HEAD -> master, origin/master, origin/HEAD)
Author: Yuning Deng <yuningdeng@microsoft.com>
Date:   Mon Sep 5 07:40:44 2022 +0000

    Merged PR 337: fix kpe frontend error

    fix kpe frontend error

commit b752478346f7e910ad45523a2503b87434e9a0f6
Author: Prerna Singh <prernasingh@microsoft.com>
Date:   Wed Aug 17 21:13:34 2022 +0000

    Merged PR 324: merge sdv2 model to master

    - merging sdv2 model code to master

commit 8cb84335b4c0983c2734d7db887f26131b4d7d7c (xianx/fix_blingdemo_ng_env)
Author: Xian Xu <xianx@microsoft.com>
Date:   Mon Aug 15 23:18:28 2022 +0000

    Merged PR 329: updating documentation for blingdemo

    updating documentation for blingdemo

master

wheeeee
  • 1,046
  • 2
  • 14
  • 33
  • "and it seems I'm missing only one commit a972c3de and the contents of this commit is only a 5 line documentation change" No. Commits are not "changes". Every commit contains _the entire project_. "why does my pull find 499 objects to send if I'm only pulling one commit? Is there something about the nature of git pull that I'm missing?" I'd say what you're missing is the entirety of what Git is. It stores _commits_ and every commit is a snapshot of the entire project. And one commit can certainly contain 500 objects. – matt Jan 04 '23 at 20:36

0 Answers0