Commit c660b0d
builtin/repack.c: avoid "the_hash_algo" in
In a similar spirit as previous commits, avoid referring directly to
"the_hash_algo" in builtin/repack.c::finish_pack_objects_cmd() and
instead accept one as a parameter to the function.
Since this function has a number of callers throughout the builtin, the
diff is a little noisier than previous commits. However, each hunk is
limited to passing the hash_algo parameter from a repository pointer
that is already in scope.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>finish_pack_objects_cmd()
1 parent a7a5a60 commit c660b0d
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
1076 | | - | |
| 1076 | + | |
| 1077 | + | |
1077 | 1078 | | |
1078 | 1079 | | |
1079 | 1080 | | |
| |||
1084 | 1085 | | |
1085 | 1086 | | |
1086 | 1087 | | |
1087 | | - | |
| 1088 | + | |
1088 | 1089 | | |
1089 | 1090 | | |
1090 | 1091 | | |
| |||
1150 | 1151 | | |
1151 | 1152 | | |
1152 | 1153 | | |
1153 | | - | |
| 1154 | + | |
| 1155 | + | |
1154 | 1156 | | |
1155 | 1157 | | |
1156 | 1158 | | |
| |||
1247 | 1249 | | |
1248 | 1250 | | |
1249 | 1251 | | |
1250 | | - | |
| 1252 | + | |
| 1253 | + | |
1251 | 1254 | | |
1252 | 1255 | | |
1253 | 1256 | | |
| |||
1534 | 1537 | | |
1535 | 1538 | | |
1536 | 1539 | | |
1537 | | - | |
| 1540 | + | |
1538 | 1541 | | |
1539 | 1542 | | |
1540 | 1543 | | |
| |||
0 commit comments