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
0a641647
Commit
0a641647
authored
Oct 04, 2014
by
Linquize
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: Fix multiple trailing spaces before comments not completely trimmed
parent
9f57fd64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/config_file.c
+1
-1
No files found.
src/config_file.c
View file @
0a641647
...
...
@@ -1163,7 +1163,7 @@ static int strip_comments(char *line, int in_quotes)
}
/* skip any space at the end */
if
(
ptr
>
line
&&
git__isspace
(
ptr
[
-
1
]))
{
while
(
ptr
>
line
&&
git__isspace
(
ptr
[
-
1
]))
{
ptr
--
;
}
ptr
[
0
]
=
'\0'
;
...
...
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