Commit c95fc72
receive-pack: drop unused "commands" from prepare_shallow_update()
We pass in the list of proposed ref updates to prepare_shallow_update(),
but that function doesn't actually need it (and never has since its
inception in 0a1bc12). Only its caller, update_shallow_info(), needs
to look at the command list.
Let's drop the unused parameter to reduce confusion.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 7a2a721 commit c95fc72
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
1812 | | - | |
1813 | | - | |
| 1812 | + | |
1814 | 1813 | | |
1815 | 1814 | | |
1816 | 1815 | | |
| |||
1876 | 1875 | | |
1877 | 1876 | | |
1878 | 1877 | | |
1879 | | - | |
| 1878 | + | |
1880 | 1879 | | |
1881 | 1880 | | |
1882 | 1881 | | |
| |||
0 commit comments