diff options
author | Filip Hejsek <filip.hejsek@gmail.com> | 2024-01-28 04:29:33 +0100 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-04-17 22:29:53 +0200 |
commit | 5c5a4a1c05932378d259b1fdd9526cab971656a2 (patch) | |
tree | 8569b26bc0cea2780bce159563bc359c90a48ebf /path.c | |
parent | Merge branch 'js/github-actions-update' (diff) | |
download | git-5c5a4a1c05932378d259b1fdd9526cab971656a2.tar.xz git-5c5a4a1c05932378d259b1fdd9526cab971656a2.zip |
t0411: add tests for cloning from partial repo
Cloning from a partial repository must not fetch missing objects into
the partial repository, because that can lead to arbitrary code
execution.
Add a couple of test cases, pretending to the `upload-pack` command (and
to that command only) that it is working on a repository owned by
someone else.
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Filip Hejsek <filip.hejsek@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'path.c')
0 files changed, 0 insertions, 0 deletions