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
91f0d186
Commit
91f0d186
authored
Dec 21, 2015
by
Dmitriy Olshevskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos in comments
parent
9ec6839a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/tag.c
+1
-1
tests/index/racy.c
+1
-1
tests/submodule/lookup.c
+1
-1
No files found.
src/tag.c
View file @
91f0d186
...
...
@@ -358,7 +358,7 @@ int git_tag_create_frombuffer(git_oid *oid, git_repository *repo, const char *bu
git_odb_object_free
(
target_obj
);
/** Ensure the tag name doesn't conflict with an already existing
* reference unless overwriting has explictly been requested **/
* reference unless overwriting has explic
i
tly been requested **/
if
(
error
==
0
&&
!
allow_ref_overwrite
)
{
giterr_set
(
GITERR_TAG
,
"Tag already exists"
);
return
GIT_EEXISTS
;
...
...
tests/index/racy.c
View file @
91f0d186
...
...
@@ -79,7 +79,7 @@ void test_index_racy__write_index_just_after_file(void)
cl_git_mkfile
(
path
.
ptr
,
"B"
);
/*
* Pretend this index' modification happend a second after the
* Pretend this index' modification happen
e
d a second after the
* file update, and rewrite the file in that same second.
*/
times
[
0
].
tv_sec
=
index
->
stamp
.
mtime
.
tv_sec
+
2
;
...
...
tests/submodule/lookup.c
View file @
91f0d186
...
...
@@ -357,7 +357,7 @@ void test_submodule_lookup__renamed(void)
cl_git_pass
(
git_index_add_bypath
(
idx
,
".gitmodules"
));
}
/* Change the worktree info in the
the
submodule's config */
/* Change the worktree info in the submodule's config */
{
git_config
*
cfg
;
...
...
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