summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-03-28 12:00:50 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-29 19:58:18 +0300
commitfa204962006541bd9c111bd7f3fa37ed2f8a2d7e (patch)
tree31b10681352639c58d5ad55b0ce94c7ab0455a6f /include/git2/common.h
parentbaad182cbcafb2f7332ad5864695a42a0354f684 (diff)
downloadlibgit2-fa204962006541bd9c111bd7f3fa37ed2f8a2d7e.tar.gz
Allow forcing the creation or renaming of references
Add internal reference create and rename functions which take a force parameter, telling them to overwrite an existing reference if it exists. These functions try to update the reference if it's of the same type as the one it's going to be replaced by. Otherwise the old reference becomes invalid. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'include/git2/common.h')
0 files changed, 0 insertions, 0 deletions