Merge branch 'jk/ls-files-doc-markup-fix'
[gitweb.git] / upload-pack.c
index cb603a6d8aeaeb4ccbae0968df6bf13813cc2a51..d2ea5eb20d90557de4dc979d98a9479e0c2e7d9b 100644 (file)
@@ -839,7 +839,7 @@ static int process_deepen_not(const char *line, struct string_list *deepen_not,
        if (skip_prefix(line, "deepen-not ", &arg)) {
                char *ref = NULL;
                struct object_id oid;
-               if (expand_ref(arg, strlen(arg), &oid, &ref) != 1)
+               if (expand_ref(the_repository, arg, strlen(arg), &oid, &ref) != 1)
                        die("git upload-pack: ambiguous deepen-not: %s", line);
                string_list_append(deepen_not, ref);
                free(ref);