diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-01-07 14:16:50 +0000 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 14:40:50 +0100 |
| commit | 23a17803b6e3a8bf21f740726ec0a038968da9a1 (patch) | |
| tree | 88d9d1c63005e773a52b3afa5b3eeaea3f0e95a7 /include/git2/reset.h | |
| parent | 659cf2029f322ea876d663d85783b48945227e8f (diff) | |
| download | libgit2-23a17803b6e3a8bf21f740726ec0a038968da9a1.tar.gz | |
reset: remove reflog message override
This function is meant to simulate what git does in the reset command,
so we should include the reflog message in that.
Diffstat (limited to 'include/git2/reset.h')
| -rw-r--r-- | include/git2/reset.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/git2/reset.h b/include/git2/reset.h index 4a3407791..93ac0b29c 100644 --- a/include/git2/reset.h +++ b/include/git2/reset.h @@ -56,20 +56,13 @@ typedef enum { * The checkout_strategy field will be overridden (based on reset_type). * This parameter can be used to propagate notify and progress callbacks. * - * - * @param log_message The one line long message to be appended to the reflog. - * The reflog is only updated if the affected direct reference is actually - * changing. If NULL, the default is "reset: moving"; if you want something more - * useful, provide a message. - * * @return 0 on success or an error code */ GIT_EXTERN(int) git_reset( git_repository *repo, git_object *target, git_reset_t reset_type, - git_checkout_options *checkout_opts, - const char *log_message); + git_checkout_options *checkout_opts); /** * Updates some entries in the index from the target commit tree. |
