core: Allow '.' in refspecs too

For version numbers.
This commit is contained in:
Colin Walters committed 2013-07-05 16:51:47 -04:00
1 parent ec21dc4242
commit e8cba55a34
1 file changed
+1 -1
+1 -1
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