Skip to content
  • Junio C Hamano's avatar
    Update callers of check_ref_format() · 257f3020
    Junio C Hamano authored
    
    
    This updates send-pack and fast-import to use symbolic constants
    for checking the return values from check_ref_format(), and also
    futureproof the logic in lock_any_ref_for_update() to explicitly
    name the case that is usually considered an error but is Ok for
    this particular use.
    
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    257f3020