[PATCH v1 0/3] CRLF-Handling: bug fix around ce_compare_data()
- From
tboegi@web.de <tboegi@web.de>
- Date
- May 15, 2016, 06:37 UTC
- Message-ID
- <1463294263-20135-1-git-send-email-tboegi@web.de>
- In-Reply-To
- <20160513134953.GE2345@dinwoodie.org>
From: Torsten Bögershausen <tboegi@web.de>
Break up the old 10/10 series about CLRF handling into smaller series.
1/10..4/10 are now found in tb/core-eol-fix
This series includes 3 from the 10/10 series: 09/10 t6038; use crlf on all platforms #now 1/3 05/10 read-cache: factor out get_sha1_from_index() helper #now 2/3 10/10 Fix for ce_compare_data(), done right. #now 3/3
The most important patch is 3/3
The reminding 3 patches, stream-and-early-out, convert-unify-the-auto-handling-of-CRLF more-safer-crlf-handling-with-text-attr Need to be re-done, re-sorted and re-written, thanks for all the comments.
Torsten Bögershausen (3): t6038; use crlf on all platforms read-cache: factor out get_sha1_from_index() helper convert: ce_compare_data() checks for a sha1 of a path
cache.h | 4 ++++ convert.c | 33 ++++++++++++++++++++++----------- convert.h | 23 +++++++++++++++++++---- read-cache.c | 33 +++++++++++++++++++++------------ sha1_file.c | 17 +++++++++++++---- t/t6038-merge-text-auto.sh | 37 +++++++++++-------------------------- 6 files changed, 90 insertions(+), 57 deletions(-)
-- 2.0.0.rc1.6318.g0c2c796