[sisyphus] Q: Ошибки, найденные git fsck

Michael Shigorin mike на osdn.org.ua
Пн Дек 7 14:17:27 UTC 2009


On Mon, Dec 07, 2009 at 07:57:41PM +0600, Michael Pozhidaev wrote:
> Вот на одном гитовом репо git fsck пишет такое:
> dangling blob 2635bf94eae515a20cd87fb27a4a9ce901917ded
> dangling blob 3c19db0a36b61f6ee1678eeb764c11fa3547745b
> О чём бы это могло говорить?

Ничего страшного:

---
There are also other situations that cause dangling objects. For
example, a "dangling blob" may arise because you did a "git add"
of a file, but then, before you actually committed it and made it
part of the bigger picture, you changed something else in that
file and committed that *updated* thing--the old state that you
added originally ends up not being pointed to by any commit or
tree, so it's now a dangling blob object.
--- http://kernel.org/pub/software/scm/git/docs/user-manual.html#dangling-objects

> Как-нибудь такое лечится?

git prune

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


Подробная информация о списке рассылки Sisyphus