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
0daf998d
Commit
0daf998d
authored
Apr 27, 2015
by
Edward Thomson
Committed by
Edward Thomson
May 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: use wildcard in test instead of empty expr
parent
63c0cc65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
tests/config/write.c
+1
-1
No files found.
tests/config/write.c
View file @
0daf998d
...
@@ -252,7 +252,7 @@ void test_config_write__overwrite_multivar_within_duplicate_header(void)
...
@@ -252,7 +252,7 @@ void test_config_write__overwrite_multivar_within_duplicate_header(void)
cl_git_pass
(
git_config_get_entry
(
&
entry
,
cfg
,
entry_name
));
cl_git_pass
(
git_config_get_entry
(
&
entry
,
cfg
,
entry_name
));
/* Update that entry */
/* Update that entry */
cl_git_pass
(
git_config_set_multivar
(
cfg
,
entry_name
,
""
,
"newurl"
));
cl_git_pass
(
git_config_set_multivar
(
cfg
,
entry_name
,
"
.*
"
,
"newurl"
));
/* Reopen the file and make sure the entry was updated */
/* Reopen the file and make sure the entry was updated */
git_config_entry_free
(
entry
);
git_config_entry_free
(
entry
);
...
...
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