summaryrefslogtreecommitdiff
path: root/t/t5100
diff options
context:
space:
mode:
authorLibravatar Stephen Boyd <bebarino@gmail.com>2010-03-05 00:20:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-06 20:00:02 -0800
commitc9c8c56e072ae568b480eb1a808bd172bf373431 (patch)
tree1bb3083cb5859c0d39eeff269c2c310df5c308ac /t/t5100
parentUpdate draft release notes to 1.7.0.2 (diff)
downloadtgif-c9c8c56e072ae568b480eb1a808bd172bf373431.tar.xz
t7406: Fix submodule init config tests
These tests have been broken since they were introduced in commits ca2cedb (git-submodule: add support for --rebase., 2009-04-24) and 42b4917 (git-submodule: add support for --merge., 2009-06-03). 'git submodule init' expects the submodules to exist in the index. In this case, the submodules don't exist and therefore looking for the submodules will always fail. To make matters worse, git submodule fails visibly to the user by saying: error: pathspec 'rebasing' did not match any file(s) known to git. Did you forget to 'git add'? but doesn't return an error code. This allows the test to fail silently. Fix it by adding the submodules first. Cc: Johan Herland <johan@herland.net> Cc: Peter Hutterer <peter.hutterer@who-t.net> Cc: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100')
0 files changed, 0 insertions, 0 deletions