author | Michal Sojka <sojkam1@fel.cvut.cz> | |
Thu, 28 Jan 2010 09:08:47 +0000 (10:08 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 Jan 2010 21:58:24 +0000 (13:58 -0800) | ||
commit | 1f7d57ff76dc21e9d4ff07b8dd26a1c926c4f29b | |
tree | 52d6ac457e3775312085360ec01ccd7e2a90130c | tree | snapshot |
parent | 03ca839537c9df35cc58085daa2b75febd373edd | commit | diff |
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>
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>
t/t7003-filter-branch.sh | diff | blob | history |