diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-12-18 09:18:30 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2018-03-22 16:23:20 +0100 |
commit | c3d0633800bb6edcd88f4a042dbeffd235253eeb (patch) | |
tree | c4b2c8c24fb01711d8dead3707b934c5e8730308 /include/git2/revparse.h | |
parent | 8f212f64a0cb01abab35b3333b0d405cb9a1639c (diff) | |
download | libgit2-c3d0633800bb6edcd88f4a042dbeffd235253eeb.tar.gz |
commit: provide functions with and without a reference name
Currently git_commit_create() takes on creating a commit and updating a
reference. Provide a better interface by splitting up each of the
concerns into named functions for each.
git_commit_create() will only create the commit, it will not modify any
reference. git_commit_create_on() takes a reference name to update and
git_commit_create_on_head() is a convenience function to update HEAD.
Diffstat (limited to 'include/git2/revparse.h')
0 files changed, 0 insertions, 0 deletions