From: mhagger@alum.mit.edu Date: Mon, 21 May 2012 07:59:55 GMT Subject: [PATCH v2 0/4] Fix some constness errors in fetch-pack Message-ID: <1337587199-21099-1-git-send-email-mhagger@alum.mit.edu> From: Michael Haggerty 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