Skip to content

Commit a5644b8

Browse files
authored
Merge pull request libgit2#6068 from libgit2/ethomson/diff_enum
diff: update `GIT_DIFF_IGNORE_BLANK_LINES`
2 parents efa0d64 + 1ba7c32 commit a5644b8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/git2/diff.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ typedef enum {
133133
*/
134134
GIT_DIFF_INDENT_HEURISTIC = (1u << 18),
135135

136+
/** Ignore blank lines */
137+
GIT_DIFF_IGNORE_BLANK_LINES = (1u << 19),
138+
136139
/** Treat all files as text, disabling binary attributes & detection */
137140
GIT_DIFF_FORCE_TEXT = (1u << 20),
138141
/** Treat all files as binary, disabling text diffs */
@@ -168,10 +171,6 @@ typedef enum {
168171
* can apply given diff information to binary files.
169172
*/
170173
GIT_DIFF_SHOW_BINARY = (1u << 30),
171-
172-
/** Ignore blank lines */
173-
GIT_DIFF_IGNORE_BLANK_LINES = (1u << 31),
174-
175174
} git_diff_option_t;
176175

177176
/**

0 commit comments

Comments
 (0)