Commit 88894aa
blame: simplify 'setup_scoreboard' interface
The previous commit moved the initialization of 'sb.path' in
'builtin/blame.c::cmd_blame' before the call to
'blame.c::setup_scoreboard'. Since 'cmd_blame' is the only caller of
'setup_scoreboard', it is now unnecessary for 'setup_scoreboard' to
receive 'path' as a separate argument, as 'sb.path' is already
initialized.
Remove this argument from setup_scoreboard's interface and use the
'path' field of the 'sb' 'struct blame_scoreboard' instead.
Signed-off-by: Philippe Blain <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 9466e38 commit 88894aa
3 files changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2764 | 2764 | | |
2765 | 2765 | | |
2766 | 2766 | | |
2767 | | - | |
2768 | 2767 | | |
2769 | 2768 | | |
2770 | 2769 | | |
| |||
2803 | 2802 | | |
2804 | 2803 | | |
2805 | 2804 | | |
2806 | | - | |
| 2805 | + | |
2807 | 2806 | | |
2808 | 2807 | | |
2809 | 2808 | | |
| |||
2846 | 2845 | | |
2847 | 2846 | | |
2848 | 2847 | | |
2849 | | - | |
| 2848 | + | |
2850 | 2849 | | |
2851 | | - | |
| 2850 | + | |
2852 | 2851 | | |
2853 | 2852 | | |
2854 | | - | |
| 2853 | + | |
2855 | 2854 | | |
2856 | 2855 | | |
2857 | 2856 | | |
| |||
2861 | 2860 | | |
2862 | 2861 | | |
2863 | 2862 | | |
2864 | | - | |
| 2863 | + | |
2865 | 2864 | | |
2866 | 2865 | | |
2867 | 2866 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
1090 | | - | |
| 1090 | + | |
1091 | 1091 | | |
1092 | 1092 | | |
1093 | 1093 | | |
| |||
0 commit comments