summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorK Jayatheerth <jayatheerthkulkarni2005@gmail.com>2025-05-18 13:13:16 +0530
committerJunio C Hamano <gitster@pobox.com>2025-05-19 10:52:24 -0700
commita1dcf6b2897e34b684249e6a823221a063ae3910 (patch)
treee423ad5a2e8dc4d7f852b9b105e1a7bfee4663af /builtin/commit-graph.c
parent3749b8a795347443286bb7c1d36489ea14b1f03f (diff)
docs: clarify cmd_psuh signature and explain UNUSED macro
The sample program, as written, would no longer build for at least two reasons: - Since this document was first written, the convention to call a subcommand implementation has changed, and cmd_psuh() now needs to accept the fourth parameter, repository. - These days, compiler warning options for developers include one that detects and complains about unused parameters, so ones that are deliberately unused have to be marked as such. Update the old-style examples to adjust to the current practices, with explanations as needed. Signed-off-by: K Jayatheerth <jayatheerthkulkarni2005@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions