diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-03 10:07:36 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-03 10:07:36 -0500 |
| commit | 72ca65d538d1e3ab7a9052613412bf121470dfd6 (patch) | |
| tree | 1a7db7342d02450a871b4a73469a22b2e4ef07a1 /include/git2/branch.h | |
| parent | fe477951be315e6fe28d6df9baf1557cef6fe539 (diff) | |
| parent | 41513659de1958fd5907c511f7ddd2ee46e6cd69 (diff) | |
| download | libgit2-72ca65d538d1e3ab7a9052613412bf121470dfd6.tar.gz | |
Merge pull request #2808 from libgit2/cmn/repo-ident
Remove the signature from ref-modifying functions
Diffstat (limited to 'include/git2/branch.h')
| -rw-r--r-- | include/git2/branch.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h index 43aa20f77..06f4d2c68 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -43,12 +43,6 @@ GIT_BEGIN_DECL * * @param force Overwrite existing branch. * - * @param signature The identity that will used to populate the reflog entry - * - * @param log_message The one line long message to be appended to the reflog. - * If NULL, the default is "Branch: created"; if you want something more - * useful, provide a message. - * * @return 0, GIT_EINVALIDSPEC or an error code. * A proper reference is written in the refs/heads namespace * pointing to the provided target commit. @@ -58,9 +52,7 @@ GIT_EXTERN(int) git_branch_create( git_repository *repo, const char *branch_name, const git_commit *target, - int force, - const git_signature *signature, - const char *log_message); + int force); /** * Delete an existing branch reference. @@ -123,19 +115,13 @@ GIT_EXTERN(void) git_branch_iterator_free(git_branch_iterator *iter); * * @param force Overwrite existing branch. * - * @param signature The identity that will used to populate the reflog entry - * - * @param log_message The one line long message to be appended to the reflog - * * @return 0 on success, GIT_EINVALIDSPEC or an error code. */ GIT_EXTERN(int) git_branch_move( git_reference **out, git_reference *branch, const char *new_branch_name, - int force, - const git_signature *signature, - const char *log_message); + int force); /** * Lookup a branch by its name in a repository. |
