libgit2/tests-clar/resources/testrepo.git
Carlos Martín Nieto 47f44b6ee4 refs: loosen the OID parsing
We used to require loose references to contain only an OID (possibly
after trimming the string). This is however not enough for letting us
lookup FETCH_HEAD, which can have a lot of content after the initial
OID.

Change the parsing rules so that a loose refernce must e at least 40
bytes long and the 41st (if it's there) must be accepted by
isspace(3). This makes the trim unnecessary, so only do it for
symrefs. This fixes #977.
2012-10-15 14:00:19 +02:00
..
logs revparse: add reflog test data 2012-07-15 18:41:54 +02:00
objects revwalk: fix off-by-one error 2012-09-27 19:12:01 +02:00
refs refspec: No remote tracking ref from a fetchspec-less remote 2012-09-13 22:31:29 +02:00
config refspec: No remote tracking ref from a fetchspec-less remote 2012-09-13 22:31:29 +02:00
FETCH_HEAD refs: loosen the OID parsing 2012-10-15 14:00:19 +02:00
HEAD Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
HEAD_TRACKER refs: introduce git_reference_is_valid_name() 2012-09-25 07:49:15 +02:00
index Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
packed-refs Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00