diff options
author | Ungureanu Marius <teromario@yahoo.com> | 2014-05-28 22:57:21 +0300 |
---|---|---|
committer | Ungureanu Marius <teromario@yahoo.com> | 2014-05-28 22:57:21 +0300 |
commit | fda73bc5fd9f118c661e963f5c50f5c87df2364c (patch) | |
tree | 1532bba6a7e1838e171f99917b2c23ff8b730142 | |
parent | 5d91bea22ac8edc9da3b8196e68dbed5ec9a11b9 (diff) | |
download | libgit2-fda73bc5fd9f118c661e963f5c50f5c87df2364c.tar.gz |
[Blob] Update documentation for is_binary.
filter.h tells me that we check the first 8000 bytes.
-rw-r--r-- | include/git2/blob.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |