threads / discuss / 9198

broken link - what is it?

Subject: broken link - what is it?

## tl;dr

2 messages between Jul 24, 2007 and Jul 24, 2007.

replies: 1people: 2as markdown or json

Michael S. Tsirkin· Jul 24, 2007, 10:24 UTC · lore
I seem to have a corrupted repo:
>git-fsck --full
broken link from    tree c907c09fee3e14adbc17c3e9d54c060b520303ba
              to    blob dfaa7049e9ebe227cfcffc49d3de16716764bcbd
broken link from    tree 00c8e1ed2de45bb57bd5482bf258efdfc28d5192
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
broken link from    tree ee2144e186e78ce1ebbecfe10a6551ebc407f025
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
missing blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
broken link from    tree 79f14c41a69bf43069a6828769d8ee3ce86f6daf
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
missing blob dfaa7049e9ebe227cfcffc49d3de16716764bcbd
broken link from    tree 5c3bb6f86743ced765fbcabe0ade6fc0a7e0f01a
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
broken link from    tree 5f553908b5e2dfb6d53964c5e01ff596b91a61ba
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
broken link from    tree 6f48bab6e09ae3d92cfdec8b6dec77b65a0968a7
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424
broken link from    tree 21fade55d91e78863920ecfe58767e007dcd4e74
              to    blob 5909ec5314cebf884c03b2d85c7919eb40b5b424

man git-fsck does not document what "broken link" is. Can someone enlighten me please?

-- 
MST
Johannes Schindelin· Jul 24, 2007, 11:17 UTC · re: Michael S. Tsirkin · lore

Re: broken link - what is it?

Hi,
On Tue, 24 Jul 2007, Michael S. Tsirkin wrote:
> man git-fsck does not document what "broken link" is.
> Can someone enlighten me please?

A broken link is when an object references another object, and the latter was not found in the object database.

For example, commits reference parent commits and a tree. A tree references trees and blobs. A tag references arbitrary objects.

I am not very good in writing documentation... could you give it a try?

Thanks, Dscho

← back to recent threads