On Nov 9, 2007 8:46 AM, Andreas Ericsson <ae@xxxxxx> wrote: > > Is this a super-secret project or you can make a tarball of the .git > directory and send it to me? Trying to track down the cause through > email is decidedly slow. > Actually yes , I am not sure I can send the repository , I will farther check that. > > One tree uses the object. I'm not sure if any commit-objects > use the tree. Try > > for b in $(git branch --no-color -a | cut -b3-); do > for rev in $(git rev-list HEAD); do > git ls-tree -r $rev | grep -q 2d9263c6d23595e7cb2a21e5ebbb53655278dff8 > test $? -eq 0 && echo $rev && break > done > done tried this and it return empty [mellanox@mellanox-compile ib]$ [mellanox@mellanox-compile ib]$ for b in $(git branch --no-color -a | cut -b3-); do > for rev in $(git rev-list HEAD); do > git ls-tree -r $rev | grep -q 2d9263c6d23595e7cb2a21e5ebbb53655278dff8; > test $? -eq 0 && echo $rev && break; > done; done [mellanox@mellanox-compile ib]$ [mellanox@mellanox-compile ib]$ [BTW I didn't notice u use the b varieble so I also tried gi rev-list $b but still empty ] I also tried to remove object and tree and apperently other trees and commits reference to these objects mv ../9458b3786228369c63936db65827de3cc06200 ../4b/ mv: cannot stat `../9458b3786228369c63936db65827de3cc06200': No such file or directory [mellanox@mellanox-compile ib]$ mv .git/objects/4b/9458b3786228369c63936db65827de3cc06200 ../4b/ [mellanox@mellanox-compile ib]$ mv .git/objects/2d/9263c6d23595e7cb2a21e5ebbb53655278dff8 ../2d/ [mellanox@mellanox-compile ib]$ git-fsck --full broken link from tree e5a0044c4ccae7635f07414c1f155bac72d25fd9 to tree 2d9263c6d23595e7cb2a21e5ebbb53655278dff8 dangling commit 0d43a63623237385e432572bf61171713dcd8e98 dangling commit 4fc6b1127e4a7f4ff5b65a2dd8a90779b5aff3e0 dangling commit 7da607374fe2b1ae09228d2035dd608c73dad7c8 dangling commit 004ef09ae022c60a30f9cd61f90d18df5db3628e broken link from tree 8bd00402b2a20024f4556107b8a729b0205657db to tree 2d9263c6d23595e7cb2a21e5ebbb53655278dff8 dangling commit 85112c6fabb6b8913ab244a8645d67380616eba6 missing tree 2d9263c6d23595e7cb2a21e5ebbb53655278dff8 dangling commit bd98481afa93356fa6daa4b6f88c4e631ae2fd72 dangling commit e81e3d2c9c25e5bf5b31327b10b23f9bd0a6d056 dangling commit 92ff9b8cbc771345c9cde0c7fef2c23bb79242b9 > > If it turns up empty, you *should* be able to safely delete > 2d9263c6d23595e7cb2a21e5ebbb53655278dff8 and > 4b9458b3786228369c63936db65827de3cc06200 > > Make sure to take a backup first though. a lot of commits and trees point to this > > -- > Andreas Ericsson andreas.ericsson@xxxxxx > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html