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
2274993b
Commit
2274993b
authored
Jul 09, 2013
by
Etienne Samson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the git_signature const in the stash API.
parent
82cb8e23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
include/git2/stash.h
+1
-1
src/stash.c
+5
-5
No files found.
include/git2/stash.h
View file @
2274993b
...
...
@@ -57,7 +57,7 @@ typedef enum {
GIT_EXTERN
(
int
)
git_stash_save
(
git_oid
*
out
,
git_repository
*
repo
,
git_signature
*
stasher
,
const
git_signature
*
stasher
,
const
char
*
message
,
unsigned
int
flags
);
...
...
src/stash.c
View file @
2274993b
...
...
@@ -117,7 +117,7 @@ static int build_tree_from_index(git_tree **out, git_index *index)
static
int
commit_index
(
git_commit
**
i_commit
,
git_index
*
index
,
git_signature
*
stasher
,
const
git_signature
*
stasher
,
const
char
*
message
,
const
git_commit
*
parent
)
{
...
...
@@ -267,7 +267,7 @@ cleanup:
static
int
commit_untracked
(
git_commit
**
u_commit
,
git_index
*
index
,
git_signature
*
stasher
,
const
git_signature
*
stasher
,
const
char
*
message
,
git_commit
*
i_commit
,
uint32_t
flags
)
...
...
@@ -354,7 +354,7 @@ cleanup:
static
int
commit_worktree
(
git_oid
*
w_commit_oid
,
git_index
*
index
,
git_signature
*
stasher
,
const
git_signature
*
stasher
,
const
char
*
message
,
git_commit
*
i_commit
,
git_commit
*
b_commit
,
...
...
@@ -431,7 +431,7 @@ cleanup:
static
int
update_reflog
(
git_oid
*
w_commit_oid
,
git_repository
*
repo
,
git_signature
*
stasher
,
const
git_signature
*
stasher
,
const
char
*
message
)
{
git_reference
*
stash
=
NULL
;
...
...
@@ -510,7 +510,7 @@ static int reset_index_and_workdir(
int
git_stash_save
(
git_oid
*
out
,
git_repository
*
repo
,
git_signature
*
stasher
,
const
git_signature
*
stasher
,
const
char
*
message
,
uint32_t
flags
)
{
...
...
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