rogue tree objects, how to diagnose?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've got this weird problem.

In my local net-next-2.6 tree I tries to pull from a
colleague and this resulted in:

davem@sunset:~/src/GIT/net-next-2.6$ git pull git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6.git master
 ...
>From git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
 * branch            master     -> FETCH_HEAD
fatal: unable to read tree c9ee57c5c20c3b7a2d7784a4172aef8b34c3a844
davem@sunset:~/src/GIT/net-next-2.6$ git show c9ee57c5c20c3b7a2d7784a4172aef8b34c3a844
fatal: bad object c9ee57c5c20c3b7a2d7784a4172aef8b34c3a844
davem@sunset:~/src/GIT/net-next-2.6$ 

Now, what's funny is that this tree object does exist in my
tree on master.kernel.org:

[davem@hera net-next-2.6.git]$ git ls-tree c9ee57c
100644 blob ffa0efce0aed06aa51be310e14dfe4b5bac8c3b4    Kconfig
100644 blob be8f287aa398f0a9697f9af30d4cda25b95ea1f0    Makefile
100644 blob dbb912574569ef49375866a5053e429bf6d38831    cm4000_cs.c
100644 blob 4f0723b07974615f5177134b49deb671580e8813    cm4040_cs.c
100644 blob 9a8b805c5095487a8f59ac22475d417d6436ac23    cm4040_cs.h
040000 tree 1314476b63b18a2c4f6dc84dd00c4ed25b7fccd9    ipwireless
100644 blob 5608a1e5a3b3416fa44e44e504c9a2817d1c3c2c    synclink_cs.c
[davem@hera net-next-2.6.git]$ 

And if I do a full clone of my master.kernel.org tree I get the
tree object.

Now, I have done a by-hand revert in this tree a long time ago
(by just by-hand changing the SHA1 ID in 'master') so that may
have contributed to this happening.

But anyways, if I pull into ~/src/GIT/net-next-2.6 locally , I don't
get that tree object.

I don't understand how this can happen, and I'd like to be able
to diagnose this intelligently.

So, what is an easy way to figure out what commit references tree
object X?

Thanks!
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux