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
74bd17e9
Commit
74bd17e9
authored
Apr 26, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make_makefiles: Avoid duplicate .gitignore entries.
parent
ba17c25e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.gitignore
.gitignore
+0
-1
make_makefiles
tools/make_makefiles
+4
-2
No files found.
.gitignore
View file @
74bd17e9
...
...
@@ -442,7 +442,6 @@ dlls/rpcrt4/librpcrt4.def
dlls/rpcrt4/tests/*.ok
dlls/rpcrt4/tests/rpcrt4_crosstest.exe
dlls/rpcrt4/tests/server.h
dlls/rpcrt4/tests/server.h
dlls/rpcrt4/tests/server_c.c
dlls/rpcrt4/tests/server_s.c
dlls/rpcrt4/tests/testlist.c
...
...
tools/make_makefiles
View file @
74bd17e9
...
...
@@ -625,11 +625,13 @@ sub update_gitignore(@)
# prepend a slash to paths that don't have one
@ignores
=
map
{
$_
=~
s/^([^\/]+)$/\/$1/
;
$_
;
}
@ignores
;
push
@ignores
,
@_
;
# get rid of duplicates
my
%
ignores
=
();
foreach
my
$i
(
@ignores
,
@_
)
{
$ignores
{
$i
}
=
1
;
}
replace_in_file
(
".gitignore"
,
undef
,
undef
,
"# Automatically generated by make_makefiles; DO NOT EDIT!!\n"
,
join
(
"\n"
,
sort
@
ignores
),
"\n"
);
join
(
"\n"
,
sort
keys
%
ignores
),
"\n"
);
}
...
...
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