Validate submodule references during pre-receive hook
Right now, you can push a commit introducing a not-yet existing Git submodule commit reference.
However, such commits can be rejected for submodule repositories hosted at git.haskell.org, thus forcing the user to push the submodule first, and only after that push the submodule-affecting commit in ghc.git
This kind of sanity checking ghc.git commits will become more important, if more repositories are converted into Git submodules.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | None |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | thoughtpolice |
Operating system | |
Architecture |