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
4a8692f6
Commit
4a8692f6
authored
Mar 09, 2014
by
Paul Betts
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2177 from shiftkey/typo-fix
corrected typo in error message
parents
6de018bb
0782c89e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/index.c
+1
-1
No files found.
src/index.c
View file @
4a8692f6
...
@@ -532,7 +532,7 @@ int git_index_write(git_index *index)
...
@@ -532,7 +532,7 @@ int git_index_write(git_index *index)
if
((
error
=
git_filebuf_open
(
if
((
error
=
git_filebuf_open
(
&
file
,
index
->
index_file_path
,
GIT_FILEBUF_HASH_CONTENTS
,
GIT_INDEX_FILE_MODE
))
<
0
)
{
&
file
,
index
->
index_file_path
,
GIT_FILEBUF_HASH_CONTENTS
,
GIT_INDEX_FILE_MODE
))
<
0
)
{
if
(
error
==
GIT_ELOCKED
)
if
(
error
==
GIT_ELOCKED
)
giterr_set
(
GITERR_INDEX
,
"The index is locked. This might be due to a concurr
r
ent or crashed process"
);
giterr_set
(
GITERR_INDEX
,
"The index is locked. This might be due to a concurrent or crashed process"
);
return
error
;
return
error
;
}
}
...
...
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