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
7d7f6d33
Commit
7d7f6d33
authored
May 03, 2017
by
Patrick Steinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: clone::local: compile UNC functions for Windows only
parent
8d93a11c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/clone/local.c
+2
-0
No files found.
tests/clone/local.c
View file @
7d7f6d33
...
...
@@ -16,6 +16,7 @@ static int file_url(git_buf *buf, const char *host, const char *path)
return
git_buf_printf
(
buf
,
"file://%s/%s"
,
host
,
path
);
}
#ifdef GIT_WIN32
static
int
git_style_unc_path
(
git_buf
*
buf
,
const
char
*
host
,
const
char
*
path
)
{
git_buf_clear
(
buf
);
...
...
@@ -49,6 +50,7 @@ static int unc_path(git_buf *buf, const char *host, const char *path)
return
0
;
}
#endif
void
test_clone_local__should_clone_local
(
void
)
{
...
...
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