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
f08c60a5
Commit
f08c60a5
authored
Sep 17, 2012
by
Philip Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes for ignorecase support
parent
ec40b7f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
src/attr_file.c
+2
-0
src/diff.c
+1
-1
src/iterator.h
+1
-1
No files found.
src/attr_file.c
View file @
f08c60a5
...
...
@@ -60,6 +60,8 @@ int git_attr_file__parse_buffer(
char
*
context
=
NULL
;
git_attr_rule
*
rule
=
NULL
;
GIT_UNUSED
(
parsedata
);
assert
(
buffer
&&
attrs
);
scan
=
buffer
;
...
...
src/diff.c
View file @
f08c60a5
...
...
@@ -714,7 +714,7 @@ static int diff_from_iterators(
* (or ADDED and DELETED pair if type changed)
*/
else
{
assert
(
oitem
&&
nitem
&&
entry_compare
(
oitem
->
path
,
nitem
->
path
)
==
0
);
assert
(
oitem
&&
nitem
&&
entry_compare
(
oitem
,
nitem
)
==
0
);
if
(
maybe_modified
(
old_iter
,
oitem
,
new_iter
,
nitem
,
diff
)
<
0
||
git_iterator_advance
(
old_iter
,
&
oitem
)
<
0
||
...
...
src/iterator.h
View file @
f08c60a5
...
...
@@ -11,7 +11,7 @@
#include "git2/index.h"
#include "vector.h"
#define ITERATOR_PREFIXCMP(ITER, STR, PREFIX) (((ITER)
##
.ignore_case) ? \
#define ITERATOR_PREFIXCMP(ITER, STR, PREFIX) (((ITER).ignore_case) ? \
git__prefixcmp_icase((STR), (PREFIX)) : \
git__prefixcmp((STR), (PREFIX)))
...
...
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