projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix assertion failure when merging common ancestors.
[git.git]
/
ls-files.c
diff --git
a/ls-files.c
b/ls-files.c
index
2c7aada
..
e53d245
100644
(file)
--- a/
ls-files.c
+++ b/
ls-files.c
@@
-496,7
+496,7
@@
static void verify_pathspec(void)
char c = n[i];
if (prev && prev[i] != c)
break;
- if (c == '*' || c == '?')
+ if (
!c ||
c == '*' || c == '?')
break;
if (c == '/')
len = i+1;