Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9c0d79

Browse files
committed
Merge pull request libgit2#3554 from olshevskiy87/master
typos in comments
2 parents 9ec6839 + 91f0d18 commit e9c0d79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/tag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ int git_tag_create_frombuffer(git_oid *oid, git_repository *repo, const char *bu
358358
git_odb_object_free(target_obj);
359359

360360
/** Ensure the tag name doesn't conflict with an already existing
361-
* reference unless overwriting has explictly been requested **/
361+
* reference unless overwriting has explicitly been requested **/
362362
if (error == 0 && !allow_ref_overwrite) {
363363
giterr_set(GITERR_TAG, "Tag already exists");
364364
return GIT_EEXISTS;

tests/index/racy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void test_index_racy__write_index_just_after_file(void)
7979

8080
cl_git_mkfile(path.ptr, "B");
8181
/*
82-
* Pretend this index' modification happend a second after the
82+
* Pretend this index' modification happened a second after the
8383
* file update, and rewrite the file in that same second.
8484
*/
8585
times[0].tv_sec = index->stamp.mtime.tv_sec + 2;

tests/submodule/lookup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ void test_submodule_lookup__renamed(void)
357357
cl_git_pass(git_index_add_bypath(idx, ".gitmodules"));
358358
}
359359

360-
/* Change the worktree info in the the submodule's config */
360+
/* Change the worktree info in the submodule's config */
361361
{
362362
git_config *cfg;
363363

0 commit comments

Comments
 (0)