commit | 1fe32cb9d0807e6da468dc7bf96d427b2f38c1c4 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Fri Feb 15 23:57:26 2008 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Feb 15 23:57:26 2008 -0800 |
tree | 6357e45b20095750fa5665349b5aa598f88ef8a7 | |
parent | 0ef617f4b6ea78ad63dd11e90f8c854238176981 [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>