summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-23 15:45:58 -0700
committerRussell Belfer <rb@github.com>2013-07-23 15:45:58 -0700
commiteb1c1707ab6a399734d9083152c05516af052412 (patch)
tree9609bee7a24220d476f2573606f6eb5d4f85fb2c /include/git2/diff.h
parentdf40f3981c312b03415e388663176b2a8315221a (diff)
downloadlibgit2-eb1c1707ab6a399734d9083152c05516af052412.tar.gz
Restore GIT_DIFF_LINE_BINARY usage
This restores the usage of GIT_DIFF_LINE_BINARY for the diff output line that reads "Binary files x and y differ" so that it can be optionally colorized independently of the file header.
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index 269eb773d..c989ba4ee 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -391,7 +391,7 @@ typedef enum {
*/
GIT_DIFF_LINE_FILE_HDR = 'F',
GIT_DIFF_LINE_HUNK_HDR = 'H',
- GIT_DIFF_LINE_BINARY = 'B' /**< Deprecated, will not be returned */
+ GIT_DIFF_LINE_BINARY = 'B' /**< For "Binary files x and y differ" */
} git_diff_line_t;
/**