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
dfda1cf5
Commit
dfda1cf5
authored
Dec 27, 2014
by
Jacques Germishuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for OOM
parent
0beb7fe4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/crlf.c
+2
-0
src/ident.c
+2
-0
No files found.
src/crlf.c
View file @
dfda1cf5
...
...
@@ -345,6 +345,8 @@ static void crlf_cleanup(
git_filter
*
git_crlf_filter_new
(
void
)
{
struct
crlf_filter
*
f
=
git__calloc
(
1
,
sizeof
(
struct
crlf_filter
));
if
(
f
==
NULL
)
return
NULL
;
f
->
f
.
version
=
GIT_FILTER_VERSION
;
f
->
f
.
attributes
=
"crlf eol text"
;
...
...
src/ident.c
View file @
dfda1cf5
...
...
@@ -115,6 +115,8 @@ static int ident_apply(
git_filter
*
git_ident_filter_new
(
void
)
{
git_filter
*
f
=
git__calloc
(
1
,
sizeof
(
git_filter
));
if
(
f
==
NULL
)
return
NULL
;
f
->
version
=
GIT_FILTER_VERSION
;
f
->
attributes
=
"+ident"
;
/* apply to files with ident attribute set */
...
...
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