*
* @param force Overwrite existing branch.
*
- * @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.
git_repository *repo,
const char *branch_name,
const git_commit *target,
- int force,
- const char *log_message);
+ int force);
/**
* Delete an existing branch reference.
*
* @param force Overwrite existing branch.
*
- * @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 char *log_message);
+ int force);
/**
* Lookup a branch by its name in a repository.