Commit 7036d13
builtin/repack.c: provide pack locations to
Repeat what was done in the preceding commit for the
`generated_pack_install()` function, which needs both "packdir" and
"packtmp".
(As an aside, it is somewhat unfortunate that the final three parameters
to this function are all "const char *", making errors like passing
"packdir" and "packtmp" in the wrong order easy. We could define a new
structure here, but that may be too heavy-handed.)
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>generated_pack_install()
1 parent 184f0ab commit 7036d13
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
1468 | 1469 | | |
1469 | 1470 | | |
1470 | 1471 | | |
1471 | | - | |
| 1472 | + | |
| 1473 | + | |
1472 | 1474 | | |
1473 | 1475 | | |
1474 | 1476 | | |
| |||
0 commit comments