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
5f6383ca
Commit
5f6383ca
authored
Mar 08, 2018
by
Jacques Germishuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diff: ensure an unsigned number is shifted
parent
515683c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
include/git2/diff.h
+3
-3
No files found.
include/git2/diff.h
View file @
5f6383ca
...
...
@@ -200,18 +200,18 @@ typedef enum {
/** Use the "patience diff" algorithm */
GIT_DIFF_PATIENCE
=
(
1u
<<
28
),
/** Take extra time to find minimal diff */
GIT_DIFF_MINIMAL
=
(
1
<<
29
),
GIT_DIFF_MINIMAL
=
(
1
u
<<
29
),
/** Include the necessary deflate / delta information so that `git-apply`
* can apply given diff information to binary files.
*/
GIT_DIFF_SHOW_BINARY
=
(
1
<<
30
),
GIT_DIFF_SHOW_BINARY
=
(
1
u
<<
30
),
/** Use a heuristic that takes indentation and whitespace into account
* which generally can produce better diffs when dealing with ambiguous
* diff hunks.
*/
GIT_DIFF_INDENT_HEURISTIC
=
(
1
<<
31
),
GIT_DIFF_INDENT_HEURISTIC
=
(
1
u
<<
31
),
}
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