summaryrefslogtreecommitdiff
path: root/git-filter-branch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-16 21:42:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-16 21:42:47 (GMT)
commit1551511bdbeb893a604234130544dda11ab8488d (patch)
tree126e0a1bffda9580a79938fffc4e3da16aa34cb0 /git-filter-branch.sh
parentc6185c0b17636a9178bc3047ed90c071ca062a51 (diff)
parenta5a4b3ff4d73be736984fd499551b1b0c10d33a1 (diff)
downloadgit-1551511bdbeb893a604234130544dda11ab8488d.zip
git-1551511bdbeb893a604234130544dda11ab8488d.tar.gz
git-1551511bdbeb893a604234130544dda11ab8488d.tar.bz2
Merge branch 'jk/filter-branch-use-of-sed-on-incomplete-line'
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 5777947..27c9c54 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -377,7 +377,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...
:;