libgit2/src
Russell Belfer 1f35e89dbf Fix diff binary file detection
In the process of adding tests for the max file size threshold
(which treats files over a certain size as binary) there seem to
be a number of problems in the new code with detecting binaries.
This should fix those up, as well as add a test for the file
size threshold stuff.

Also, this un-deprecates `GIT_DIFF_LINE_ADD_EOFNL`, since I
finally found a legitimate situation where it would be returned.
2012-09-11 12:03:33 -07:00
..
amiga More changes resulting from pull request 2012-06-14 19:09:42 +01:00
compat Hook up Windows compat fnmatch() for Solaris 2012-05-10 09:52:49 -07:00
ppc More changes resulting from pull request 2012-06-14 19:09:42 +01:00
transports http: increase buffer side to deal with side-band-64k 2012-08-25 23:32:19 +02:00
unix posix: Always set a default mapping mode 2012-08-26 18:00:10 -07:00
win32 Add bounds checking to UTF-8 conversion 2012-08-28 23:26:00 -07:00
xdiff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
attr_file.c Add template dir and set gid to repo init 2012-08-22 16:07:19 -07:00
attr_file.h attr: Do not export variables externally 2012-08-02 01:15:24 +02:00
attr.c Diff iterators 2012-09-05 15:17:24 -07:00
attr.h Support new config locations 2012-08-24 14:32:45 -07:00
blob.c blob: add git_blob_create_fromchunks() 2012-06-07 20:33:22 +02:00
blob.h Add filter tests and fix some bugs 2012-03-02 15:09:40 -08:00
branch.c Merge branch 'branch-delete-ref' into development 2012-08-27 14:54:52 -07:00
bswap.h Update Copyright header 2012-02-13 17:11:09 +01:00
buffer.c Fix valgrind issues and leaks 2012-08-24 11:00:27 -07:00
buffer.h Add git_buf_unescape and git__unescape to unescape all characters in a string (in-place) 2012-07-24 14:03:07 +02:00
cache.c oid: Explicitly include oid.h for the inlined CMP 2012-08-09 15:33:04 -07:00
cache.h Update Copyright header 2012-02-13 17:11:09 +01:00
cc-compat.h compat: va_copy on Win32 systems 2012-05-04 13:52:38 -07:00
checkout.c Fix valgrind warnings and spurious error messages 2012-08-24 12:19:22 -07:00
clone.c Clean up a TODO comment. 2012-08-01 15:09:05 -07:00
commit.c portability: Improve x86/amd64 compatibility 2012-07-24 16:10:12 +02:00
commit.h Update Copyright header 2012-02-13 17:11:09 +01:00
common.h remote: start moving the protocol to a common area 2012-07-30 20:25:10 +02:00
config_cache.c errors: Rename error codes 2012-05-18 01:48:50 +02:00
config_file.c Diff iterators 2012-09-05 15:17:24 -07:00
config_file.h Major submodule rewrite 2012-08-24 11:00:26 -07:00
config.c Support new config locations 2012-08-24 14:32:45 -07:00
config.h Support new config locations 2012-08-24 14:32:45 -07:00
crlf.c Alternate test for autocrlf with status 2012-09-06 15:24:03 -07:00
date.c Merge remote-tracking branch 'nulltoken/topic/amd64-compat' into development 2012-08-02 01:38:30 +02:00
delta-apply.c errors: Rename the generic return codes 2012-05-18 01:26:26 +02:00
delta-apply.h errors: Rename the generic return codes 2012-05-18 01:26:26 +02:00
diff_output.c Fix diff binary file detection 2012-09-11 12:03:33 -07:00
diff.c Implement filters for status/diff blobs 2012-09-06 15:34:02 -07:00
diff.h Replace git_diff_iterator_num_files with progress 2012-09-10 09:59:14 -07:00
errors.c Fix valgrind warnings and spurious error messages 2012-08-24 12:19:22 -07:00
fetch.c Diff iterators 2012-09-05 15:17:24 -07:00
fetch.h remote: use the same code to control git and http 2012-07-30 20:28:16 +02:00
filebuf.c Fix valgrind warnings and spurious error messages 2012-08-24 12:19:22 -07:00
filebuf.h filebuf: add git_filebuf_flush() 2012-05-27 19:54:53 +02:00
fileops.c Fix diff binary file detection 2012-09-11 12:03:33 -07:00
fileops.h Implement filters for status/diff blobs 2012-09-06 15:34:02 -07:00
filter.c filter: fix memory leak 2012-07-21 20:11:37 -07:00
filter.h Migrate code to git_filter_blob_contents. 2012-07-16 12:06:23 -07:00
global.c Make the memory-window conrol structures global 2012-08-20 12:02:52 +02:00
global.h Make the memory-window conrol structures global 2012-08-20 12:02:52 +02:00
hash.c Update Copyright header 2012-02-13 17:11:09 +01:00
hash.h Update Copyright header 2012-02-13 17:11:09 +01:00
ignore.c Fix crash with adding internal ignores 2012-08-24 13:41:45 -07:00
ignore.h Support reading attributes from index 2012-05-03 16:37:25 -07:00
index.c Merge pull request #778 from ben/clone 2012-08-19 01:26:06 -07:00
index.h Make index add/append support core.filemode flag 2012-06-19 14:27:02 -07:00
indexer.c indexer: kill git_indexer_stats.data_received 2012-08-26 00:42:28 +02:00
iterator.c Working implementation of git_submodule_status 2012-08-24 11:00:27 -07:00
iterator.h Ranged iterators and rewritten git_status_file 2012-05-15 14:34:15 -07:00
khash.h Isolate khash inlines from global namespace 2012-07-12 11:49:15 -07:00
map.h Basic mmap/munmap compatiblity 2012-06-10 18:08:15 +01:00
message.c Fix warnings and merge issues on Win64 2012-08-23 09:20:17 -07:00
message.h message: Expose git_message_prettify() 2012-06-19 10:02:22 +02:00
mwindow.c Make the memory-window conrol structures global 2012-08-20 12:02:52 +02:00
mwindow.h Make the memory-window conrol structures global 2012-08-20 12:02:52 +02:00
netops.c netops: be more careful with SSL errors 2012-09-04 00:22:12 +02:00
netops.h Merge remote-tracking branch 'nulltoken/topic/amd64-compat' into development 2012-08-02 01:38:30 +02:00
notes.c tree entry: rename git_tree_entry_attributes() into git_tree_entry_filemode() 2012-08-21 23:15:13 +02:00
notes.h Add git notes API 2012-02-15 20:32:14 +01:00
object.c Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
object.h Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
odb_loose.c Merge remote-tracking branch 'arrbee/tree-walk-fixes' into development 2012-08-06 12:41:08 +02:00
odb_pack.c odb: pass the user's data pointer correctly in foreach 2012-09-04 21:42:00 +02:00
odb.c Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
odb.h Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
oid.c Revparse: GIT_EAMBIGUOUS 2012-08-25 09:56:20 -07:00
oidmap.h git_oid_cmp: inline memcmp by hand to optimize 2012-07-29 20:50:58 +02:00
pack.c Merge remote-tracking branch 'arrbee/tree-walk-fixes' into development 2012-08-06 12:41:08 +02:00
pack.h portability: Improve x86/amd64 compatibility 2012-07-24 16:10:12 +02:00
path.c Add bounds checking to UTF-8 conversion 2012-08-28 23:26:00 -07:00
path.h Add template dir and set gid to repo init 2012-08-22 16:07:19 -07:00
pkt.c network: add sideband support 2012-08-24 20:29:39 +02:00
pkt.h network: add sideband support 2012-08-24 20:29:39 +02:00
pool.c Fix bug with merging diffs with null options 2012-07-19 10:23:45 -07:00
pool.h Diff iterators 2012-09-05 15:17:24 -07:00
posix.c amigaos: Cleanup 2012-06-22 21:25:17 +02:00
posix.h Add template dir and set gid to repo init 2012-08-22 16:07:19 -07:00
pqueue.c Fix warnings on 64-bit windows builds 2012-04-17 10:47:39 -07:00
pqueue.h Update Copyright header 2012-02-13 17:11:09 +01:00
protocol.c network: add sideband support 2012-08-24 20:29:39 +02:00
protocol.h network: add sideband support 2012-08-24 20:29:39 +02:00
reflog.c Merge remote-tracking branch 'nulltoken/topic/amd64-compat' into development 2012-08-02 01:38:30 +02:00
reflog.h reflog: introduce git_reflog_write() 2012-07-25 07:53:30 +02:00
refs.c Diff iterators 2012-09-05 15:17:24 -07:00
refs.h Add git_reset() 2012-06-07 21:27:30 +02:00
refspec.c refspec: expose the force update specifier through git_refspec_force() accessor 2012-05-30 01:05:17 +02:00
refspec.h errors: Rename the generic return codes 2012-05-18 01:26:26 +02:00
remote.c network: add sideband support 2012-08-24 20:29:39 +02:00
remote.h remote: add missing include git2/remote.h 2012-08-04 15:30:28 +02:00
repo_template.h Add git_repository_init_ext for power initters 2012-08-22 16:06:22 -07:00
repository.c repository: make initialization cope with missing core.worktree 2012-08-29 19:56:55 +02:00
repository.h Reorg internal odb read header and object lookup 2012-09-10 12:24:05 -07:00
reset.c Make git_object_peel a bit smarter 2012-08-27 11:53:59 -07:00
revparse.c Diff iterators 2012-09-05 15:17:24 -07:00
revwalk.c Diff iterators 2012-09-05 15:17:24 -07:00
sha1_lookup.c Convert indexer, notes, sha1_lookup, and signature 2012-03-19 17:49:46 -07:00
sha1_lookup.h Update Copyright header 2012-02-13 17:11:09 +01:00
sha1.c Fix warnings on 64-bit windows builds 2012-04-17 10:47:39 -07:00
sha1.h sha1: add missing header guards 2012-08-11 12:29:24 +02:00
signature.c Fix MSVC compilation warnings 2012-09-04 10:01:18 +02:00
signature.h Update Copyright header 2012-02-13 17:11:09 +01:00
status.c Diff iterators 2012-09-05 15:17:24 -07:00
strmap.h Missed a couple of khash inline dependencies 2012-07-12 11:52:10 -07:00
submodule.c Diff iterators 2012-09-05 15:17:24 -07:00
submodule.h Working implementation of git_submodule_status 2012-08-24 11:00:27 -07:00
tag.c Make git_object_peel a bit smarter 2012-08-27 11:53:59 -07:00
tag.h Export parse_tag_buffer as git_tag__parse_buffer. 2012-02-22 04:45:30 +00:00
thread-utils.c Update Copyright header 2012-02-13 17:11:09 +01:00
thread-utils.h Update Copyright header 2012-02-13 17:11:09 +01:00
transport.c http: add https support when GnuTLS is available 2012-05-19 17:50:52 +02:00
transport.h network: add sideband support 2012-08-24 20:29:39 +02:00
tree-cache.c misc: Fix warnings from PVS Studio trial 2012-06-07 22:43:48 +02:00
tree-cache.h Update Copyright header 2012-02-13 17:11:09 +01:00
tree.c tree entry: rename git_tree_entry_attributes() into git_tree_entry_filemode() 2012-08-21 23:15:13 +02:00
tree.h filemode: deploy enum usage 2012-08-21 23:15:10 +02:00
tsort.c Fix warnings on 64-bit windows builds 2012-04-17 10:47:39 -07:00
util.c Add function to query for compile time settings. 2012-08-01 20:02:32 +02:00
util.h Add git_buf_unescape and git__unescape to unescape all characters in a string (in-place) 2012-07-24 14:03:07 +02:00
vector.c portability: Improve x86/amd64 compatibility 2012-07-24 16:10:12 +02:00
vector.h portability: Improve x86/amd64 compatibility 2012-07-24 16:10:12 +02:00