aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2015-11-10 12:42:32 +0100
committerJeff King <peff@peff.net>2015-11-20 04:52:01 -0500
commitd336123160a4d9d31b01ae096ed3cdf135f92216 (patch)
tree3dc060555b3d22441d6f1495f868dba28b7055cc /contrib/persistent-https
parentverify_refname_available(): rename function (diff)
downloadgit-d336123160a4d9d31b01ae096ed3cdf135f92216.tar.gz
git-d336123160a4d9d31b01ae096ed3cdf135f92216.zip
verify_refname_available(): new function
Add a new verify_refname_available() function, which checks whether the refname is available for use, taking all references (both packed and loose) into account. This function, unlike the old verify_refname_available(), has semantics independent of the choice of reference storage, and can therefore be implemented by alternative reference backends. Use the new function in a couple of places. Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions