author | Thomas Rast <trast@student.ethz.ch> | |
Tue, 12 Aug 2008 08:45:57 +0000 (10:45 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Aug 2008 00:27:07 +0000 (17:27 -0700) | ||
commit | 6e84b712373d343ea3531740d8eb048e84240a39 | |
tree | 99c5f19b305236a74e3d11ebab5f6a06eaa03955 | tree | snapshot |
parent | 04c6e9e9ca34226db095bbaa1218030f99f0b7c6 | commit | diff |
filter-branch: Extend test to show rewriting bug
This extends the --subdirectory-filter test in t7003 to demonstrate a
rewriting bug: when rewriting two refs A and B such that B is an
ancestor of A, it fails to rewrite B.
The underlying issue is that the rev-list invocation at
git-filter-branch.sh:332 more or less boils down to
git rev-list B --boundary ^A
which outputs nothing because B is an ancestor of A.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This extends the --subdirectory-filter test in t7003 to demonstrate a
rewriting bug: when rewriting two refs A and B such that B is an
ancestor of A, it fails to rewrite B.
The underlying issue is that the rev-list invocation at
git-filter-branch.sh:332 more or less boils down to
git rev-list B --boundary ^A
which outputs nothing because B is an ancestor of A.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7003-filter-branch.sh | diff | blob | history |