Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
622166c4
Commit
622166c4
authored
May 18, 2019
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regex: disambiguate builtin vs system pcre
parent
c6e48fef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
src/CMakeLists.txt
+1
-1
src/features.h.in
+1
-0
src/posix_regex.h
+1
-1
No files found.
src/CMakeLists.txt
View file @
622166c4
...
...
@@ -314,7 +314,7 @@ ELSEIF(REGEX STREQUAL "regcomp")
SET(GIT_REGEX_REGCOMP 1)
ELSEIF(REGEX STREQUAL "
builtin
")
ADD_FEATURE_INFO(regex ON "
using bundled PCRE
")
SET(GIT_REGEX_
PCRE
1)
SET(GIT_REGEX_
BUILTIN
1)
ADD_SUBDIRECTORY("
${
libgit2_SOURCE_DIR
}
/deps/pcre
" "
${
libgit2_BINARY_DIR
}
/deps/pcre
")
LIST(APPEND LIBGIT2_INCLUDES "
${
libgit2_SOURCE_DIR
}
/deps/pcre
")
...
...
src/features.h.in
View file @
622166c4
...
...
@@ -19,6 +19,7 @@
#cmakedefine GIT_REGEX_REGCOMP_L
#cmakedefine GIT_REGEX_REGCOMP
#cmakedefine GIT_REGEX_PCRE
#cmakedefine GIT_REGEX_BUILTIN 1
#cmakedefine GIT_SSH 1
#cmakedefine GIT_SSH_MEMORY_CREDENTIALS 1
...
...
src/posix_regex.h
View file @
622166c4
...
...
@@ -15,7 +15,7 @@
* compatible implementation.
*/
#ifdef GIT_REGEX_
PCRE
#ifdef GIT_REGEX_
BUILTIN
# include "pcreposix.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment