diff options
| author | Glen Choo <chooglen@google.com> | 2022-12-20 13:39:49 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-12-26 10:21:43 +0900 |
| commit | 0d1806e53de6ac26021d8aab918d76381287f339 (patch) | |
| tree | 35770d439f42991655af94a1cdd0d2de3aea6b7b /submodule.h | |
| parent | 49eb1d388ae618b61058d14b811684a89bdf84b6 (diff) | |
| download | git-0d1806e53de6ac26021d8aab918d76381287f339.tar.gz | |
read-tree + fetch tests: test failing "--super-prefix" interaction
Ever since "git fetch --refetch" was introduced in 0f5e8851737 (Merge
branch 'rc/fetch-refetch', 2022-04-04) the test being added here would
fail. This is because "restore" will "read-tree .. --reset <hash>",
which will in turn invoke "fetch". The "fetch" will then die with:
fatal: fetch doesn't support --super-prefix
This edge case and other "--super-prefix" bugs will be fixed in
subsequent commits, but let's first add a "test_expect_failure" test
for it. It passes until the very last command in the test.
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
0 files changed, 0 insertions, 0 deletions
