Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
84ff0631
Commit
84ff0631
authored
Jun 07, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi: Get the list of files from git-ls-files if possible.
parent
32f240bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
options.pm
tools/winapi/options.pm
+8
-0
No files found.
tools/winapi/options.pm
View file @
84ff0631
...
...
@@ -236,6 +236,13 @@ sub parse_files($) {
}
}
if
(
$#c_files
==
-
1
&&
$#h_files
==
-
1
&&
$#paths
==
-
1
&&
-
d
".git"
)
{
@$c_files
=
sort
split
/\0/
,
`git ls-files -z \\*.c`
;
@$h_files
=
sort
split
/\0/
,
`git ls-files -z \\*.h`
;
}
else
{
if
(
$#c_files
==
-
1
&&
$#h_files
==
-
1
&&
$#paths
==
-
1
)
{
@paths
=
"."
;
...
...
@@ -269,6 +276,7 @@ sub parse_files($) {
}
}
split
(
/\n/
,
`$h_command`
));
}
}
my
%
dirs
;
foreach
my
$file
(
@$c_files
,
@$h_files
)
{
...
...
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