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
e0aa6fc1
Commit
e0aa6fc1
authored
Sep 18, 2013
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indexer: don't reiterate the class in the message
parent
98eb2c59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/indexer.c
+3
-3
No files found.
src/indexer.c
View file @
e0aa6fc1
...
...
@@ -630,7 +630,7 @@ int git_indexer_stream_finalize(git_indexer_stream *idx, git_transfer_progress *
/* Test for this before resolve_deltas(), as it plays with idx->off */
if
(
idx
->
off
<
idx
->
pack
->
mwf
.
size
-
20
)
{
giterr_set
(
GITERR_INDEXER
,
"
Indexing error:
unexpected data at the end of the pack"
);
giterr_set
(
GITERR_INDEXER
,
"unexpected data at the end of the pack"
);
return
-
1
;
}
...
...
@@ -646,7 +646,7 @@ int git_indexer_stream_finalize(git_indexer_stream *idx, git_transfer_progress *
git_hash_final
(
&
trailer_hash
,
&
idx
->
trailer
);
if
(
git_oid_cmp
(
&
file_hash
,
&
trailer_hash
))
{
giterr_set
(
GITERR_INDEXER
,
"
Indexing error:
packfile trailer mismatch"
);
giterr_set
(
GITERR_INDEXER
,
"packfile trailer mismatch"
);
return
-
1
;
}
...
...
@@ -655,7 +655,7 @@ int git_indexer_stream_finalize(git_indexer_stream *idx, git_transfer_progress *
return
-
1
;
if
(
stats
->
indexed_objects
!=
stats
->
total_objects
)
{
giterr_set
(
GITERR_INDEXER
,
"
Indexing error:
early EOF"
);
giterr_set
(
GITERR_INDEXER
,
"early EOF"
);
return
-
1
;
}
...
...
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