author | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 Feb 2008 07:57:26 +0000 (23:57 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 Feb 2008 07:57:26 +0000 (23:57 -0800) | ||
commit | 1fe32cb9d0807e6da468dc7bf96d427b2f38c1c4 | |
tree | 6357e45b20095750fa5665349b5aa598f88ef8a7 | tree | snapshot |
parent | 0ef617f4b6ea78ad63dd11e90f8c854238176981 | commit | diff |
filter-branch: handle filenames that need quoting
The command used a very old fashioned construct to extract
filenames out of diff-index and ended up corrupting the output.
We can simply use --name-only and pipe into --stdin mode of
update-index. It's been like that for the past 2 years or so
since a94d994 (update-index: work with c-quoted name).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The command used a very old fashioned construct to extract
filenames out of diff-index and ended up corrupting the output.
We can simply use --name-only and pipe into --stdin mode of
update-index. It's been like that for the past 2 years or so
since a94d994 (update-index: work with c-quoted name).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh | diff | blob | history | |
t/t7003-filter-branch.sh | diff | blob | history |