Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix calling parse_pathspec with no paths nor PATHSPEC_PREFER_* flags
[gitweb.git]
/
line-log.c
diff --git
a/line-log.c
b/line-log.c
index 843a334bf06464f08ceb1a6d68d1599db2a1f1f2..b29f981cc778f138bf5f1760391345b1ce221ee3 100644
(file)
--- a/
line-log.c
+++ b/
line-log.c
@@
-747,7
+747,8
@@
void line_log_init(struct rev_info *rev, const char *prefix, struct string_list
r = r->next;
}
paths[count] = NULL;
- parse_pathspec(&rev->diffopt.pathspec, 0, 0, "", paths);
+ parse_pathspec(&rev->diffopt.pathspec, 0,
+ PATHSPEC_PREFER_FULL, "", paths);
free(paths);
}
}