Skip to content

Small improvements to ./sync-all

  1. /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.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority lowest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information