]> git.ipfire.org Git - thirdparty/git.git/blobdiff - line-log.c
Merge branch 'ea/blame-use-oideq'
[thirdparty/git.git] / line-log.c
index 05d077b8e7c77c637e6d3498b953f12c08e1d1d7..bf73ea95acbcf2d9969850227756773592389d42 100644 (file)
@@ -758,12 +758,12 @@ static void parse_pathspec_from_ranges(struct pathspec *pathspec,
                                       struct line_log_data *range)
 {
        struct line_log_data *r;
-       struct argv_array array = ARGV_ARRAY_INIT;
+       struct strvec array = STRVEC_INIT;
        const char **paths;
 
        for (r = range; r; r = r->next)
-               argv_array_push(&array, r->path);
-       paths = argv_array_detach(&array);
+               strvec_push(&array, r->path);
+       paths = strvec_detach(&array);
 
        parse_pathspec(pathspec, 0, PATHSPEC_PREFER_FULL, "", paths);
        /* strings are now owned by pathspec */