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
2076d329
Commit
2076d329
authored
Jun 09, 2016
by
Sim Domingo
Committed by
Edward Thomson
Jun 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix error message SHA truncation in git_odb__error_notfound()
parent
f0ee795c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/odb.c
+1
-1
No files found.
src/odb.c
View file @
2076d329
...
@@ -1362,7 +1362,7 @@ int git_odb__error_notfound(
...
@@ -1362,7 +1362,7 @@ int git_odb__error_notfound(
{
{
if
(
oid
!=
NULL
)
{
if
(
oid
!=
NULL
)
{
char
oid_str
[
GIT_OID_HEXSZ
+
1
];
char
oid_str
[
GIT_OID_HEXSZ
+
1
];
git_oid_tostr
(
oid_str
,
oid_len
,
oid
);
git_oid_tostr
(
oid_str
,
oid_len
+
1
,
oid
);
giterr_set
(
GITERR_ODB
,
"Object not found - %s (%.*s)"
,
giterr_set
(
GITERR_ODB
,
"Object not found - %s (%.*s)"
,
message
,
oid_len
,
oid_str
);
message
,
oid_len
,
oid_str
);
}
else
}
else
...
...
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