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
a54043b7
Unverified
Commit
a54043b7
authored
Sep 21, 2018
by
Patrick Steinhardt
Committed by
GitHub
Sep 21, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4794 from marcin-krystianc/mkrystianc/prune_perf
git_remote_prune to be O(n * logn)
parents
df33b43d
bfec6526
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/remote.c
+1
-1
No files found.
src/remote.c
View file @
a54043b7
...
...
@@ -1243,7 +1243,7 @@ int git_remote_prune(git_remote *remote, const git_remote_callbacks *callbacks)
goto
cleanup
;
key
.
name
=
(
char
*
)
git_buf_cstr
(
&
buf
);
error
=
git_vector_search
(
&
pos
,
&
remote_refs
,
&
key
);
error
=
git_vector_
b
search
(
&
pos
,
&
remote_refs
,
&
key
);
git_buf_dispose
(
&
buf
);
if
(
error
<
0
&&
error
!=
GIT_ENOTFOUND
)
...
...
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