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
b162bb35
Unverified
Commit
b162bb35
authored
3 years ago
by
Colin Stolley
Committed by
GitHub
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update src/refdb_fs.c
Co-authored-by: Edward Thomson <ethomson@github.com>
parent
c55275ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/refdb_fs.c
+2
-3
No files found.
src/refdb_fs.c
View file @
b162bb35
...
...
@@ -477,11 +477,10 @@ static char *packed_set_peeling_mode(
if
(
!
eol
)
return
NULL
;
if
(
git__memmem
(
data
,
eol
-
data
,
fully_peeled
,
strlen
(
fully_peeled
)))
{
if
(
git__memmem
(
data
,
eol
-
data
,
fully_peeled
,
strlen
(
fully_peeled
)))
backend
->
peeling_mode
=
PEELING_FULL
;
}
else
if
(
git__memmem
(
data
,
eol
-
data
,
peeled
,
strlen
(
peeled
)))
{
else
if
(
git__memmem
(
data
,
eol
-
data
,
peeled
,
strlen
(
peeled
)))
backend
->
peeling_mode
=
PEELING_STANDARD
;
}
backend
->
sorted
=
git__memmem
(
data
,
eol
-
data
,
sorted
,
strlen
(
sorted
));
...
...
This diff is collapsed.
Click to expand it.
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