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>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment