summaryrefslogtreecommitdiff
path: root/contrib/hg-to-git
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-04-16 08:41:27 +0200
committerJunio C Hamano <gitster@pobox.com>2017-04-16 21:32:45 -0700
commit524a9fdb51b1c7de5bcb83f6ea44015dabef466c (patch)
tree213fabd09f00bdaaf1ad603bbba42478c1242034 /contrib/hg-to-git
parentb05855b5bcaf07fe8a636e621bd9d12d51963b5a (diff)
downloadgit-524a9fdb51b1c7de5bcb83f6ea44015dabef466c.tar.gz
refs_verify_refname_available(): use function in more places
Change `lock_raw_ref()` and `lock_ref_sha1_basic()` to use `refs_verify_refname_available()` instead of `verify_refname_available_dir()`. This means that those callsites now check for conflicts with all references rather than just packed refs, but the performance cost shouldn't be significant (and will be regained later). These were the last callers of `verify_refname_available_dir()`, so also delete that (very complicated) function. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hg-to-git')
0 files changed, 0 insertions, 0 deletions