Commit bd19b94
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>1 parent 95b5039 commit bd19b94
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
821 | | - | |
822 | 821 | | |
823 | 822 | | |
824 | 823 | | |
| |||
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
834 | | - | |
| 833 | + | |
835 | 834 | | |
836 | 835 | | |
837 | 836 | | |
| |||
891 | 890 | | |
892 | 891 | | |
893 | 892 | | |
894 | | - | |
| 893 | + | |
895 | 894 | | |
896 | 895 | | |
897 | 896 | | |
| |||
906 | 905 | | |
907 | 906 | | |
908 | 907 | | |
909 | | - | |
| 908 | + | |
910 | 909 | | |
911 | 910 | | |
912 | 911 | | |
| |||
991 | 990 | | |
992 | 991 | | |
993 | 992 | | |
994 | | - | |
| 993 | + | |
995 | 994 | | |
996 | 995 | | |
997 | 996 | | |
| |||
1019 | 1018 | | |
1020 | 1019 | | |
1021 | 1020 | | |
1022 | | - | |
| 1021 | + | |
1023 | 1022 | | |
1024 | 1023 | | |
1025 | 1024 | | |
| |||
0 commit comments