On Saturday 2006, December 02 00:12, Linus Torvalds wrote:Can I argue that the hash in that object should actually be to a real object in the supermodule repository rather than a link? Then THAT object would contain the hash? So in your above example: 100644 blob 08602f522183dc43787616f37cba9b8af4e3dade xdiff-interface.c 100644 blob 1346908bea31319aabeabdfd955e2ea9aab37456 xdiff-interface.h 040000 tree 959dd5d97e665998eb26c764d3a889ae7903d9c2 xdiff 050000 link a7f26495b7b7e32bf949efbd91ee32267b792cba xyzzy And then the local object a7f26495b7b7e32bf949efbd91ee32267b792cba would contain your original hash 0215ffb08ce99e2bb59eca114a99499a4d06e704. The reason I suggest this as without out it the "link" object is the only hash in the tree that doesn't point to a valid object. The contents of objects is entirely arbitrary so it's perfectly okay for that to contain a hash that won't dereference to a real object in the supermodule. The main advantage of this is (I think) that git-prune, git-fsck, and whatever else relies on tree objects all being real, don't need to be modified at all. It also gives you scope to later add fields to the "link" object if you wanted. Andy -- Dr Andrew Parkins, M Eng (Hons), AMIEE andyparkins@gmail.com - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.27-rc5 |
| Ingo Molnar | [patch 00/13] Syslets, "Threadlets", generic AIO support, v3 |
| Chris Snook | [PATCH 0/24] make atomic_read() behave consistently across all architectures |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Marcel Holtmann | Bluetooth fixes for 2.6.27 |
| Evgeniy Polyakov | [resend take 2 0/4] Distributed storage. |
| Andrew Morton | Re: [Bugme-new] [Bug 9721] New: wake on lan fails with sky2 module |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
git: | |
| Ping Yin | [RFC] git reset --recover |
| Wink Saville | Resolving conflicts |
| Ping Yin | [PATCH 0/7] submodule: fallback to .gitmodules and multiple level module definition |
| Linus Torvalds | Re: git pull for update of netdev fails. |
| Richard Stallman | Real men don't attack straw men |
| Karel Kulhavy | lookup option in /etc/resolv.conf ignored |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Will | fsck large filesystem, memory limit problem |
| Creating a device from a kernel module (mknod style) | 7 minutes ago | Linux kernel |
| Soft lock bug | 4 hours ago | Linux kernel |
| kernel module to intercept socket creation | 10 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 10 hours ago | Linux kernel |
| Question on swap as ramdisk partition | 12 hours ago | Linux kernel |
| serial driver xmit problem | 17 hours ago | Linux kernel |
| Generic Netlink subsytem | 18 hours ago | Linux kernel |
| 'Report spam filter error' page broken | 19 hours ago | KernelTrap Suggestions and Feedback |
| Netfilter kernel module | 1 day ago | Linux kernel |
| Why Windows is better than Linux | 1 day ago | Linux general |
