From: Michael Haggerty <redacted>
Fix some constness errors that I noticed while reading the code in
builtin/fetch-pack.c.
This version differs from v1 as follows:
* cmd_fetch_pack() is not made to free the memory that it allocates.
* The second patch is broken into separate pieces to make each piece
more readable.
Michael Haggerty (4):
cmd_fetch_pack(): declare dest to be const
cmd_fetch_pack(): handle non-option arguments outside of the loop
cmd_fetch_pack(): combine the loop termination conditions
cmd_fetch_pack(): respect constness of argv parameter
builtin/fetch-pack.c | 145 ++++++++++++++++++++++++--------------------------
1 file changed, 71 insertions(+), 74 deletions(-)
--
1.7.10