]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7003-filter-branch.sh
filter-branch: handle filenames that need quoting
authorJunio C Hamano <gitster@pobox.com>
Sat, 16 Feb 2008 07:57:26 +0000 (23:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Feb 2008 07:57:26 +0000 (23:57 -0800)
commit1fe32cb9d0807e6da468dc7bf96d427b2f38c1c4
tree6357e45b20095750fa5665349b5aa598f88ef8a7
parent0ef617f4b6ea78ad63dd11e90f8c854238176981
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>
git-filter-branch.sh
t/t7003-filter-branch.sh