summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-22 15:12:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-22 15:39:51 -0700
commita4dded0189191db1aa572bdc45419182db8ae652 (patch)
tree333f49ac12fe3d3aab6ee659998a9f2026c5e87f /cache-tree.c
parentsubmodule update: run custom update script for initial populating as well (diff)
downloadtgif-a4dded0189191db1aa572bdc45419182db8ae652.tar.xz
t7406: correct test case for submodule-update initial population
There are three issues with the test: * The syntax of the here-doc was wrong, such that the entire test was sucked into the here-doc, which is why the test succeeded. * The variable $submodulesha1 was not expanded as it was inside a quoted here text. We do not want to quote EOF marker for this. * The redirection from the git command to the output file for comparison was wrong as the -C operator from git doesn't apply to the redirect path. Also we're interested in stderr of that command. Noticed-by: Jan Palus <jan.palus@gmail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions