diff options
author | Michal Sojka <sojkam1@fel.cvut.cz> | 2010-01-28 10:08:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-28 13:58:24 -0800 |
commit | 1f7d57ff76dc21e9d4ff07b8dd26a1c926c4f29b (patch) | |
tree | 52d6ac457e3775312085360ec01ccd7e2a90130c /builtin-write-tree.c | |
parent | filter-branch: Fix to allow replacing submodules with another content (diff) | |
download | tgif-1f7d57ff76dc21e9d4ff07b8dd26a1c926c4f29b.tar.xz |
filter-branch: Add tests for submodules in tree-filter
Add tests to make sure that:
1) a submodule can be removed and its content replaced with regular files
('rewrite submodule with another content'). This test passes only with
the previous patch applied.
2) it is possible to replace submodule revision by direct index
manipulation ('replace submodule revision'). Although it would be
better to run such a filter in --index-filter, this test shows that
this functionality is not broken by the previous patch. This succeeds
both with and without the previous patch.
Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-write-tree.c')
0 files changed, 0 insertions, 0 deletions