mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 23:54:50 +00:00
commit
e9c0d7962b
@ -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 explicitly been requested **/
|
||||
if (error == 0 && !allow_ref_overwrite) {
|
||||
giterr_set(GITERR_TAG, "Tag already exists");
|
||||
return GIT_EEXISTS;
|
||||
|
@ -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 happened a second after the
|
||||
* file update, and rewrite the file in that same second.
|
||||
*/
|
||||
times[0].tv_sec = index->stamp.mtime.tv_sec + 2;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user