filter-branch: subdirectory filter needs --full-history
commitcfabd6eee1745cfec58cfcb794ce8847e43b888a
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 8 Jun 2007 21:28:50 +0000 (8 23:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Jun 2007 19:24:16 +0000 (9 12:24 -0700)
tree0bac5625b6d7f25e3411c3b98b0c60f069d24582
parent813b4734fcb82e541658b33b8563387c197d6247
filter-branch: subdirectory filter needs --full-history

When two branches are merged that modify a subdirectory (possibly in
different intermediate steps) such that both end up identical, then
rev-list chooses only one branch. But when we filter history, we want to
keep both branches. Therefore, we must use --full-history.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh
t/t7003-filter-branch.sh