aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/describe.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-23 07:32:57 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-23 07:32:57 -0700
commit19b316ff3cc1ef6a8ffe59b60f057c450b2701b3 (patch)
tree1b808625272f84571c18037b8a22051950b88314 /builtin/describe.c
parentMerge branch 'jk/setup-revisions-freefix' into next (diff)
downloadgit-19b316ff3cc1ef6a8ffe59b60f057c450b2701b3.tar.gz
git-19b316ff3cc1ef6a8ffe59b60f057c450b2701b3.zip
Revert "Merge branch 'jk/setup-revisions-freefix' into next"
This reverts commit b178f27e6ddfa8d515dcd445b6bf17119f962c44, reversing changes made to 2d0aec78212bcdf7c7c067a74b471a9e0ce60adf.
Diffstat (limited to 'builtin/describe.c')
-rw-r--r--builtin/describe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/describe.c b/builtin/describe.c
index ffaf8d9f0a..9f4e26d7ff 100644
--- a/builtin/describe.c
+++ b/builtin/describe.c
@@ -580,8 +580,7 @@ static void describe_blob(const struct object_id *oid, struct strbuf *dst)
NULL);
repo_init_revisions(the_repository, &revs, NULL);
- setup_revisions_from_strvec(&args, &revs, NULL);
- if (args.nr > 1)
+ if (setup_revisions(args.nr, args.v, &revs, NULL) > 1)
BUG("setup_revisions could not handle all args?");
if (prepare_revision_walk(&revs))