1. 01 Jul, 2014 1 commit
  2. 14 Nov, 2013 1 commit
  3. 11 Oct, 2013 1 commit
  4. 07 Mar, 2013 1 commit
    • refs: explicitly catch leading slashes · bb45c57f
      It's somewhat common to try to write "/refs/tags/something". There is
      no easy way to catch it during the main body of the function, as there
      is no way to distinguish whether it's a leading slash or a double
      slash somewhere in the middle.
      
      Catch this at the beginning so we don't trigger the assert in
      is_all_caps_and_underscore().
      Carlos Martín Nieto committed
  5. 27 Nov, 2012 1 commit
  6. 25 Sep, 2012 1 commit
  7. 23 Apr, 2012 1 commit
  8. 17 Apr, 2012 1 commit
    • Add git_reference_lookup_oid and lookup_resolved · f201d613
      Adds a new public reference function `git_reference_lookup_oid`
      that directly resolved a reference name to an OID without returning
      the intermediate `git_reference` object (hence, no free needed).
      
      Internally, this adds a `git_reference_lookup_resolved` function
      that combines looking up and resolving a reference.  This allows
      us to be more efficient with memory reallocation.
      
      The existing `git_reference_lookup` and `git_reference_resolve`
      are reimplmented on top of the new utility and a few places in the
      code are changed to use one of the two new functions.
      Russell Belfer committed