From e8cba55a343fd192d71834aec99d2f3f10e209b4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 5 Jul 2013 16:51:47 -0400 Subject: [PATCH] core: Allow '.' in refspecs too For version numbers. --- src/libostree/ostree-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c index 642154ba..fb2923fb 100644 --- a/src/libostree/ostree-core.c +++ b/src/libostree/ostree-core.c @@ -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