author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 8 Jun 2007 00:30:35 +0000 (01:30 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 9 Jun 2007 19:16:49 +0000 (12:16 -0700) | ||
commit | 685ef546b62d063c72b401cd38b83a879301aac4 | |
tree | e77b86327c888b55739f79c1ca939b89f947e193 | tree | snapshot |
parent | 3520e1e86878c6787c3abfe677e6472ce2c97f66 | commit | diff |
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>
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 | diff | blob | history | |
t/t7003-filter-branch.sh | diff | blob | history |