Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 20, 2014

  1. Michael Haggerty

    rename read_replace_refs to check_replace_refs

    The semantics of this flag was changed in commit
    
        e1111ce inline lookup_replace_object() calls
    
    but wasn't renamed at the time to minimize code churn.  Rename it now,
    and add a comment explaining its use.
    
    Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    authored gitster committed

Oct 05, 2011

  1. Michael Haggerty

    Change check_ref_format() to take a flags argument

    Change check_ref_format() to take a flags argument that indicates what
    is acceptable in the reference name (analogous to "git
    check-ref-format"'s "--allow-onelevel" and "--refspec-pattern").  This
    is more convenient for callers and also fixes a failure in the test
    suite (and likely elsewhere in the code) by enabling "onelevel" and
    "refspec-pattern" to be allowed independently of each other.
    
    Also rename check_ref_format() to check_refname_format() to make it
    obvious that it deals with refnames rather than references themselves.
    
    Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    authored gitster committed
Something went wrong with that request. Please try again.