Commit 065a00e2c93087353741a95cfd4a1bf40df954c4

Russell Belfer 2014-05-28T14:51:22

Merge pull request #2386 from Therzok/patch-2 [Blob] Update documentation for is_binary.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/blob.h b/include/git2/blob.h
index 1b65833..c24ff7e 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