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
1a5cd26b
Commit
1a5cd26b
authored
Oct 05, 2012
by
Sascha Cunz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor whitespace issue
parent
f9cf12b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/diff_output.c
+3
-3
No files found.
src/diff_output.c
View file @
1a5cd26b
...
@@ -1038,14 +1038,14 @@ static int print_patch_file(
...
@@ -1038,14 +1038,14 @@ static int print_patch_file(
if
(
git_buf_oom
(
pi
->
buf
))
if
(
git_buf_oom
(
pi
->
buf
))
return
-
1
;
return
-
1
;
if
(
pi
->
print_cb
(
pi
->
cb_data
,
delta
,
NULL
,
GIT_DIFF_LINE_FILE_HDR
,
git_buf_cstr
(
pi
->
buf
),
git_buf_len
(
pi
->
buf
)))
if
(
pi
->
print_cb
(
pi
->
cb_data
,
delta
,
NULL
,
GIT_DIFF_LINE_FILE_HDR
,
git_buf_cstr
(
pi
->
buf
),
git_buf_len
(
pi
->
buf
)))
{
{
giterr_clear
();
giterr_clear
();
return
GIT_EUSER
;
return
GIT_EUSER
;
}
}
if
(
delta
->
binary
!=
1
)
if
(
delta
->
binary
!=
1
)
return
0
;
return
0
;
git_buf_clear
(
pi
->
buf
);
git_buf_clear
(
pi
->
buf
);
git_buf_printf
(
git_buf_printf
(
...
...
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