aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-06-03 16:01:10 +0200
committerJunio C Hamano <gitster@pobox.com>2025-06-03 08:30:48 -0700
commitbd19b94a664ee6434a5f1b9d65f3d3ee70a9188c (patch)
tree5f67dc56265947535f8f2c39f8f66c80d6a05ab9 /commit-graph.c
parentbuiltin/gc: use designated field initializers for maintenance tasks (diff)
downloadgit-bd19b94a664ee6434a5f1b9d65f3d3ee70a9188c.tar.gz
git-bd19b94a664ee6434a5f1b9d65f3d3ee70a9188c.zip
builtin/gc: drop redundant local variable
We have two different variables that track the quietness for git-gc(1): - The local variable `quiet`, which we wire up. - The `quiet` field of `struct maintenance_run_opts`. This leads to confusion which of these variables should be used and what the respective effect is. Simplify this logic by dropping the local variable in favor of the options field. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions