On 12/15/06, Josef Weidendorfer <Josef.Weidendorfer@gmx.de> wrote:I don't, bad wording by me. That was the problem I wanted to address. In my example "AppBuild" and "LibBuild" were the same project but this scenario is relevant as well. This is interesting. In my notation: /path/to/link/name -> <commit>/path/to/subtree means that there is a link named "name" in the tree object for "path/to/link". The link points to a "link object" specifying a subtree or blob of the tree that is pointed to in a submodule commit. This is not currently implemented but has at least the following advantages: 1. You can access files in a submodule without fetching the whole submodule (which may be very large). (App1 is only interested in lib1.h, the rest is toally irrelevant) 2. Superproject can access referenced (linked) files in it's own folder-structure without being forced a structure by the subproject. If you do a symlink instead, doesn't you loose versioning information? What happens with the symlinks if someone clones the superproject? Wouldn't specifying the submodule path in the link object fit in well here? Then each "link object" can represent a checked out tree from the subproject in the superproject directory-structure. This is true for symlinks and would also be corrected if we have a (sparse) submodule checkout there in it's place. Why? Can you give an example here. The main reason for these "links" are for versioning purposes: the uniqe SHA1 of the "link" representing a tree/blob in a version of the submodule should be "included" in the supermodules commit. Symlinks won't give that at all. Probably not as that was a piece of the puzzle that I was missing. //Torgil - 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
| Kamalesh Babulal | Re: 2.6.23-rc6-mm1 |
| Gabriel C | Re: 2.6.22-rc6-mm1 |
| Linus Torvalds | Linux 2.6.27 |
| Andi Kleen | [PATCH] [9/18] Export prep_compound_page to the hugetlb allocator |
git: | |
| Chris Ortman | [FEATURE REQUEST] git-svn format-patch |
| Francis Moreau | emacs and git... |
| Marco Costalba | [ANNOUNCE] qgit4 aka qgit ported to Windows |
| Johannes Schindelin | Re: git on MacOSX and files with decomposed utf-8 file names |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Ted Unangst | Re: About Xen: maybe a reiterative question but .. |
| Richard Storm | MAXDSIZ 1GB memory limit for process |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Steve Glendinning | [PATCH] SMSC LAN911x and LAN921x vendor driver |
| Chas Williams (CONTRACTOR) | Re: [PATCH] firmware: convert Ambassador ATM driver to request_firmware() |
| Marcel Holtmann | Bluetooth fixes for 2.6.27 |
| How to make my PCIE ATA storage device running in Linux | 3 hours ago | Linux general |
| sata/ide timeout errors on asus server-mb | 7 hours ago | Linux kernel |
| Shared swap partition | 7 hours ago | Linux general |
| usb mic not detected | 12 hours ago | Applications and Utilities |
| Problem in Inserting a module | 12 hours ago | Linux kernel |
| Treason Uncloaked | 18 hours ago | Linux kernel |
| high memory | 3 days ago | Linux kernel |
| semaphore access speed | 3 days ago | Applications and Utilities |
| the kernel how to power off the machine | 3 days ago | Linux kernel |
| Easter Eggs in windows XP | 3 days ago | Windows |
