Re: [PATCH 5/5] Add gitmodules(5)
- From
- Josef Weidendorfer <josef.weidendorfer@gmx.de>
- Date
- Jun 12, 2007, 13:50 UTC
- Message-ID
- <200706121550.28226.Josef.Weidendorfer@gmx.de>
- In-Reply-To
- <200706121540.52753.Josef.Weidendorfer@gmx.de>
On Tuesday 12 June 2007, Josef Weidendorfer wrote:
Show 8 quoted lines
> IMHO sharing of the admin submodule repository should even be possible > if I have a clone of kdelibs and kdebase independent of the big > KDE superproject. > > It would be nice to allow submodule.<name>.repopath configs globally > in ~/.gitconfig, and cloning kdelibs should automatically do the > right thing, ie. use the already available admin repo for the kdelibs > clone.
I just realize that this should be already possible now by setting submodule.<name>.url in ~/.gitconfig. It could automatically use "git-clone -l -s -n ..." if the URL is local.
Josef