Name |
Last commit
|
Last update |
---|---|---|
.. | ||
logs | Loading commit data... | |
objects | ||
refs | ||
FETCH_HEAD | ||
HEAD | ||
HEAD_TRACKER | ||
config | ||
index | ||
packed-refs |
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
logs | Loading commit data... | |
objects | Loading commit data... | |
refs | Loading commit data... | |
FETCH_HEAD | Loading commit data... | |
HEAD | Loading commit data... | |
HEAD_TRACKER | Loading commit data... | |
config | Loading commit data... | |
index | Loading commit data... | |
packed-refs | Loading commit data... |