]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7003-filter-branch.sh
Teach filter-branch about subdirectory filtering
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 8 Jun 2007 00:30:35 +0000 (01:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Jun 2007 19:16:49 +0000 (12:16 -0700)
commit685ef546b62d063c72b401cd38b83a879301aac4
treee77b86327c888b55739f79c1ca939b89f947e193
parent3520e1e86878c6787c3abfe677e6472ce2c97f66
Teach filter-branch about subdirectory filtering

With git-filter-branch --subdirectory-filter <subdirectory> you can
get at the history, as seen by a certain subdirectory. The history
of the rewritten branch will only contain commits that touched that
subdirectory, and the subdirectory will be rewritten to be the new
project root.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh
t/t7003-filter-branch.sh