diff options
author | Jeff King <peff@peff.net> | 2018-05-02 17:25:27 -0400 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2018-05-21 23:55:12 -0400 |
commit | ed8b10f631c9a71df3351d46187bf7f3fa4f9b7e (patch) | |
tree | 9737045b5a965b0b741baaa1bf68bc254f0bbb97 /t/t5100/patch0010 | |
parent | fsck: handle promisor objects in .gitmodules check (diff) | |
download | tgif-ed8b10f631c9a71df3351d46187bf7f3fa4f9b7e.tar.xz |
fsck: check .gitmodules content
This patch detects and blocks submodule names which do not
match the policy set forth in submodule-config. These should
already be caught by the submodule code itself, but putting
the check here means that newer versions of Git can protect
older ones from malicious entries (e.g., a server with
receive.fsckObjects will block the objects, protecting
clients which fetch from it).
As a side effect, this means fsck will also complain about
.gitmodules files that cannot be parsed (or were larger than
core.bigFileThreshold).
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t5100/patch0010')
0 files changed, 0 insertions, 0 deletions