rev-list: disable object/refname ambiguity check with --stdin
[gitweb.git] / line-log.c
index d40c79dc2be2cc2a6f405bd9c399a929d1324dcd..717638b333b680da7a3a5acefcb73db9d956a00f 100644 (file)
@@ -760,7 +760,8 @@ void line_log_init(struct rev_info *rev, const char *prefix, struct string_list
                        r = r->next;
                }
                paths[count] = NULL;
-               init_pathspec(&rev->diffopt.pathspec, paths);
+               parse_pathspec(&rev->diffopt.pathspec, 0,
+                              PATHSPEC_PREFER_FULL, "", paths);
                free(paths);
        }
 }