summaryrefslogtreecommitdiff
path: root/Documentation/gitcredentials.txt
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-04-16 08:41:27 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-16 21:32:45 -0700
commit524a9fdb51b1c7de5bcb83f6ea44015dabef466c (patch)
tree213fabd09f00bdaaf1ad603bbba42478c1242034 /Documentation/gitcredentials.txt
parentrefs_verify_refname_available(): implement once for all backends (diff)
downloadtgif-524a9fdb51b1c7de5bcb83f6ea44015dabef466c.tar.xz
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 'Documentation/gitcredentials.txt')
0 files changed, 0 insertions, 0 deletions