summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2023-10-26 10:11:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-11-01 03:07:18 (GMT)
commitb49529230d512c9a9551e064e3181bc8c1264880 (patch)
treedd6a0f81e380d598ddb5fcab364d47eb6b8b4382 /revision.c
parentca556f47076932a07590c62aad772cfc89491614 (diff)
downloadgit-b49529230d512c9a9551e064e3181bc8c1264880.zip
git-b49529230d512c9a9551e064e3181bc8c1264880.tar.gz
git-b49529230d512c9a9551e064e3181bc8c1264880.tar.bz2
rev-list: move `show_commit()` to the bottom
The `show_commit()` function already depends on `finish_commit()`, and in the upcoming commit, we'll also add a dependency on `finish_object__ma()`. Since in C symbols must be declared before they're used, let's move `show_commit()` below both `finish_commit()` and `finish_object__ma()`, so the code is cleaner as a whole without the need for declarations. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
0 files changed, 0 insertions, 0 deletions