/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert common_prefix() to use struct pathspec
[git/git.git]
/
builtin
/
ls-files.c
diff --git
a/builtin/ls-files.c
b/builtin/ls-files.c
index
fa1a6be
..
c074e6f
100644
(file)
--- a/
builtin/ls-files.c
+++ b/
builtin/ls-files.c
@@
-546,7
+546,7
@@
int cmd_ls_files(int argc, const char **argv, const char *cmd_prefix)
prefix, argv);
/* Find common prefix for all pathspec's */
- max_prefix = common_prefix(
pathspec.raw
);
+ max_prefix = common_prefix(
&pathspec
);
max_prefix_len = max_prefix ? strlen(max_prefix) : 0;
/* Treat unmatching pathspec elements as errors */