Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
a5644b80
Unverified
Commit
a5644b80
authored
Sep 22, 2021
by
Edward Thomson
Committed by
GitHub
Sep 22, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6068 from libgit2/ethomson/diff_enum
diff: update `GIT_DIFF_IGNORE_BLANK_LINES`
parents
efa0d64e
1ba7c327
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
include/git2/diff.h
+3
-4
No files found.
include/git2/diff.h
View file @
a5644b80
...
@@ -133,6 +133,9 @@ typedef enum {
...
@@ -133,6 +133,9 @@ typedef enum {
*/
*/
GIT_DIFF_INDENT_HEURISTIC
=
(
1u
<<
18
),
GIT_DIFF_INDENT_HEURISTIC
=
(
1u
<<
18
),
/** Ignore blank lines */
GIT_DIFF_IGNORE_BLANK_LINES
=
(
1u
<<
19
),
/** Treat all files as text, disabling binary attributes & detection */
/** Treat all files as text, disabling binary attributes & detection */
GIT_DIFF_FORCE_TEXT
=
(
1u
<<
20
),
GIT_DIFF_FORCE_TEXT
=
(
1u
<<
20
),
/** Treat all files as binary, disabling text diffs */
/** Treat all files as binary, disabling text diffs */
...
@@ -168,10 +171,6 @@ typedef enum {
...
@@ -168,10 +171,6 @@ typedef enum {
* can apply given diff information to binary files.
* can apply given diff information to binary files.
*/
*/
GIT_DIFF_SHOW_BINARY
=
(
1u
<<
30
),
GIT_DIFF_SHOW_BINARY
=
(
1u
<<
30
),
/** Ignore blank lines */
GIT_DIFF_IGNORE_BLANK_LINES
=
(
1u
<<
31
),
}
git_diff_option_t
;
}
git_diff_option_t
;
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment