diff options
author | Russell Belfer <rb@github.com> | 2013-01-15 09:24:17 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-02-11 14:45:46 -0800 |
commit | c2907575ec050d4cbc667544f7e6114e09b7b123 (patch) | |
tree | 07040442645f8183617e02674e827eac9f98fe29 /tests-clar/diff/blob.c | |
parent | 40a605104c2060c2bc5a08dfb62cafe473baeb21 (diff) | |
download | libgit2-c2907575ec050d4cbc667544f7e6114e09b7b123.tar.gz |
Add FORCE_TEXT check into git_diff_blobs code path
`git_diff_blobs` and `git_diff_blob_to_buffer` skip the step
where we check file attributes because they don't have a filename
associated with the data. Unfortunately, this meant they were also
skipping the check for the GIT_DIFF_FORCE_TEXT option and so you
could not force a diff of an apparent binary file. This adds the
force text check into their code path.
Diffstat (limited to 'tests-clar/diff/blob.c')
0 files changed, 0 insertions, 0 deletions