summaryrefslogtreecommitdiff
path: root/git-filter-branch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-20 15:22:39 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-20 15:22:39 -0700
commit44a9b53c599447a706dd4ae8a00fd8b4bed093b9 (patch)
treec74c4e45ebad4b84b0651f05c6920db447af34fd /git-filter-branch.sh
parentMerge branch 'maint' of git://github.com/git-l10n/git-po into maint (diff)
parentfilter-branch: remove multi-line headers in msg filter (diff)
downloadtgif-44a9b53c599447a706dd4ae8a00fd8b4bed093b9.tar.xz
Merge branch 'jk/filter-branch-use-of-sed-on-incomplete-line' into maint
A recent "filter-branch --msg-filter" broke skipping of the commit object header, which is fixed. * jk/filter-branch-use-of-sed-on-incomplete-line: filter-branch: remove multi-line headers in msg filter
Diffstat (limited to 'git-filter-branch.sh')
-rwxr-xr-xgit-filter-branch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index 5b3f63d8bb..fff8093d4f 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -347,7 +347,7 @@ while read commit parents; do
fi
{
- while read -r header_line && test -n "$header_line"
+ while IFS='' read -r header_line && test -n "$header_line"
do
# skip header lines...
:;