Small improvements to ./sync-all
|Reported by:||nwf||Owned by:||hvr|
|Component:||Trac & Git||Version:||7.7|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
./sync-all get in a local clone does not use local submodules. That is, if I
git clone ghc ghc-tmp; cd ghc-tmp; ./sync-all get
the contained clones come over just fine from ghc/... into ghc-tmp/..., but the submodules are fetched over the network connection. I think the attached patch brings the "fetch from the clone source if possible" behavior over to submodules, though possibly not in an ideal way.
Separately, I find that I want to run shell commands in each repository; adding a "shell" verb is trivial and a second patch is attached.
Change History (8)
comment:4 Changed 3 years ago by
|Component:||Compiler → Trac & Git|
|Owner:||set to hvr|