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
c7469503
Commit
c7469503
authored
Oct 24, 2018
by
Etienne Samson
Committed by
Edward Thomson
Jan 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diff: assert that we're passed a valid git_diff object
CID 1386176, 1386177, 1388219
parent
a4b332e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/diff_tform.c
+2
-0
No files found.
src/diff_tform.c
View file @
c7469503
...
...
@@ -816,6 +816,8 @@ int git_diff_find_similar(
diff_find_match
*
best_match
;
git_diff_file
swap
;
assert
(
diff
);
if
((
error
=
normalize_find_opts
(
diff
,
&
opts
,
given_opts
))
<
0
)
return
error
;
...
...
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