core: Allow '.' in refspecs too
For version numbers.
This commit is contained in:
1 parent
ec21dc4242
commit
e8cba55a34
1 file changed
+1
-1
@@ -61,7 +61,7 @@ ostree_validate_checksum_string (const char *sha256,
|
|||||||
return ostree_validate_structureof_checksum_string (sha256, error);
|
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
|
#define OSTREE_REF_REGEXP "(?:" OSTREE_REF_FRAGMENT_REGEXP "/)*" OSTREE_REF_FRAGMENT_REGEXP
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
|||||||
Reference in new issue
Block a user