From fda73bc5fd9f118c661e963f5c50f5c87df2364c Mon Sep 17 00:00:00 2001 From: Ungureanu Marius Date: Wed, 28 May 2014 22:57:21 +0300 Subject: [Blob] Update documentation for is_binary. filter.h tells me that we check the first 8000 bytes. --- include/git2/blob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/git2') diff --git a/include/git2/blob.h b/include/git2/blob.h index 1b6583309..c24ff7e7f 100644 --- a/include/git2/blob.h +++ b/include/git2/blob.h @@ -210,7 +210,7 @@ GIT_EXTERN(int) git_blob_create_frombuffer( * * The heuristic used to guess if a file is binary is taken from core git: * Searching for NUL bytes and looking for a reasonable ratio of printable - * to non-printable characters among the first 4000 bytes. + * to non-printable characters among the first 8000 bytes. * * @param blob The blob which content should be analyzed * @return 1 if the content of the blob is detected -- cgit v1.2.1