Skip to content
  • Junio C Hamano's avatar
    log: do not shorten decoration names too early · 429ad204
    Junio C Hamano authored
    
    
    The DECORATE_SHORT_REFS option given to load_ref_decorations()
    affects the way a copy of the refname is stored for each decorated
    commit, and this forces later steps like current_pointed_by_HEAD()
    to adjust their behaviour based on this initial settings.
    
    Instead, we can always store the full refname and then shorten them
    when producing the output.
    
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    429ad204