summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-05-28 14:51:22 -0700
committerRussell Belfer <rb@github.com>2014-05-28 14:51:22 -0700
commit065a00e2c93087353741a95cfd4a1bf40df954c4 (patch)
tree1532bba6a7e1838e171f99917b2c23ff8b730142
parent5d91bea22ac8edc9da3b8196e68dbed5ec9a11b9 (diff)
parentfda73bc5fd9f118c661e963f5c50f5c87df2364c (diff)
downloadlibgit2-065a00e2c93087353741a95cfd4a1bf40df954c4.tar.gz
Merge pull request #2386 from Therzok/patch-2
[Blob] Update documentation for is_binary.
-rw-r--r--include/git2/blob.h2
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