Lars, Try to remove .git/gc.log then re-run fetch.
If that doesn't work then move ".git/refs/remotes/origin/HEAD" to backup location outside of your .git directory and try again.
-Alfred On 11/11/15 4:03 AM, Eggert, Lars wrote:
Hi, I just got this error when fetching from remote; related? [elars@laurel: ~/src] git fetch --all Fetching origin Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. Fetching upstream remote: Counting objects: 557, done. remote: Compressing objects: 100% (543/543), done. remote: Total 557 (delta 213), reused 2 (delta 2), pack-reused 0 Receiving objects: 100% (557/557), 1.15 MiB | 433.00 KiB/s, done. Resolving deltas: 100% (213/213), completed with 2 local objects. From github.com:/freebsd/freebsd b4eb11a..3eb0ea4 master -> upstream/master f147893..9c319c0 stable/10 -> upstream/stable/10 e901edd..b3c9fd2 stable/8 -> upstream/stable/8 81ab2b1..2fc7a9a stable/9 -> upstream/stable/9 c2c933c..cc76737 svn_head -> upstream/svn_head Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. fatal: bad object refs/remotes/origin/HEAD error: failed to run repack Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. fatal: bad object refs/remotes/origin/HEAD error: failed to run repack Lars
_______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"