doc: group pretty-format.txt placeholders descriptions
[gitweb.git] / archive.c
index c1870105eb453980ce421f937e9615d1d9dcd3b3..9d16b7fadfc8d30b8a96dd0c908f02783adb791f 100644 (file)
--- a/archive.c
+++ b/archive.c
@@ -392,7 +392,7 @@ static void parse_treeish_arg(const char **argv,
        if (get_oid(name, &oid))
                die("Not a valid object name");
 
-       commit = lookup_commit_reference_gently(the_repository, &oid, 1);
+       commit = lookup_commit_reference_gently(ar_args->repo, &oid, 1);
        if (commit) {
                commit_sha1 = commit->object.oid.hash;
                archive_time = commit->date;