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
f3c1bedf
Commit
f3c1bedf
authored
Jun 28, 2019
by
Sven Strickroth
Committed by
Edward Thomson
Jan 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect installed x64 versions of Git for Windows
Signed-off-by: Sven Strickroth <email@cs-ware.de>
parent
f64568eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/win32/findfile.c
+6
-0
No files found.
src/win32/findfile.c
View file @
f3c1bedf
...
...
@@ -191,6 +191,12 @@ int git_win32__find_system_dirs(git_str *out, const wchar_t *subdir)
&
buf
,
HKEY_CURRENT_USER
,
REG_MSYSGIT_INSTALL_LOCAL
,
subdir
)
&&
buf
.
size
)
git_str_join
(
out
,
GIT_PATH_LIST_SEPARATOR
,
out
->
ptr
,
buf
.
ptr
);
#ifdef GIT_ARCH_64
if
(
!
win32_find_git_in_registry
(
&
buf
,
HKEY_LOCAL_MACHINE
,
REG_MSYSGIT_INSTALL_LOCAL
,
subdir
)
&&
buf
.
size
)
git_str_join
(
out
,
GIT_PATH_LIST_SEPARATOR
,
out
->
ptr
,
buf
.
ptr
);
#endif
if
(
!
win32_find_git_in_registry
(
&
buf
,
HKEY_LOCAL_MACHINE
,
REG_MSYSGIT_INSTALL
,
subdir
)
&&
buf
.
size
)
git_str_join
(
out
,
GIT_PATH_LIST_SEPARATOR
,
out
->
ptr
,
buf
.
ptr
);
...
...
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