summaryrefslogtreecommitdiff
path: root/include/git2/odb_backend.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-18 09:18:30 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2018-03-22 16:23:20 +0100
commitc3d0633800bb6edcd88f4a042dbeffd235253eeb (patch)
treec4b2c8c24fb01711d8dead3707b934c5e8730308 /include/git2/odb_backend.h
parent8f212f64a0cb01abab35b3333b0d405cb9a1639c (diff)
downloadlibgit2-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/odb_backend.h')
0 files changed, 0 insertions, 0 deletions