forked from Mirrors/flatpak-builder
git: Support HEAD as ref when mirroring a repo
This is useful to reference whatever is currently checked out in a local repo.tingping/wmclass
parent
01bdfd7d82
commit
e7287852ad
|
@ -201,6 +201,7 @@ lookup_full_ref (GHashTable *refs, const char *ref)
|
|||
{
|
||||
int i;
|
||||
const char *prefixes[] = {
|
||||
"",
|
||||
"refs/",
|
||||
"refs/tags/",
|
||||
"refs/heads/"
|
||||
|
|
Loading…
Reference in New Issue