core: Allow '.' in refspecs too

For version numbers.
This commit is contained in:
Colin Walters 2013-07-05 16:51:47 -04:00
parent ec21dc4242
commit e8cba55a34
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ ostree_validate_checksum_string (const char *sha256,
return ostree_validate_structureof_checksum_string (sha256, error);
}
#define OSTREE_REF_FRAGMENT_REGEXP "[-_\\w\\d]+"
#define OSTREE_REF_FRAGMENT_REGEXP "[-._\\w\\d]+"
#define OSTREE_REF_REGEXP "(?:" OSTREE_REF_FRAGMENT_REGEXP "/)*" OSTREE_REF_FRAGMENT_REGEXP
gboolean