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
f08a084b
Commit
f08a084b
authored
Jul 21, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #334 from schu/typos
tag.c: fix tiny typo
parents
1c8a4aaf
46a78f79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/tag.c
+4
-4
No files found.
src/tag.c
View file @
f08a084b
...
...
@@ -165,7 +165,7 @@ static int parse_tag_buffer(git_tag *tag, const char *buffer, const char *buffer
return
GIT_SUCCESS
;
}
static
int
retr
ei
ve_tag_reference
(
git_reference
**
tag_reference_out
,
char
*
ref_name_out
,
git_repository
*
repo
,
const
char
*
tag_name
)
static
int
retr
ie
ve_tag_reference
(
git_reference
**
tag_reference_out
,
char
*
ref_name_out
,
git_repository
*
repo
,
const
char
*
tag_name
)
{
git_reference
*
tag_ref
;
int
error
;
...
...
@@ -233,7 +233,7 @@ static int git_tag_create__internal(
if
(
git_object_owner
(
target
)
!=
repo
)
return
git__throw
(
GIT_EINVALIDARGS
,
"The given target does not belong to this repository"
);
error
=
retr
ei
ve_tag_reference
(
&
new_ref
,
ref_name
,
repo
,
tag_name
);
error
=
retr
ie
ve_tag_reference
(
&
new_ref
,
ref_name
,
repo
,
tag_name
);
switch
(
error
)
{
case
GIT_SUCCESS
:
...
...
@@ -318,7 +318,7 @@ int git_tag_create_frombuffer(git_oid *oid, git_repository *repo, const char *bu
git_odb_object_close
(
target_obj
);
error
=
retr
ei
ve_tag_reference
(
&
new_ref
,
ref_name
,
repo
,
tag
.
tag_name
);
error
=
retr
ie
ve_tag_reference
(
&
new_ref
,
ref_name
,
repo
,
tag
.
tag_name
);
switch
(
error
)
{
case
GIT_SUCCESS
:
...
...
@@ -370,7 +370,7 @@ int git_tag_delete(git_repository *repo, const char *tag_name)
git_reference
*
tag_ref
;
char
ref_name
[
GIT_REFNAME_MAX
];
error
=
retr
ei
ve_tag_reference
(
&
tag_ref
,
ref_name
,
repo
,
tag_name
);
error
=
retr
ie
ve_tag_reference
(
&
tag_ref
,
ref_name
,
repo
,
tag_name
);
if
(
error
<
GIT_SUCCESS
)
return
git__rethrow
(
error
,
"Failed to delete tag"
);
...
...
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