]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fetch-pack.c
cmd_fetch_pack(): declare dest to be const
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 21 May 2012 07:59:56 +0000 (09:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 May 2012 19:57:19 +0000 (12:57 -0700)
commit9d19c6ea52755edec9b8e6d5b838b712fc7e97f6
treef66561781cb551c9e90ce9fe186aaf30781f44e3
parent078b895fefdca94995862a4cc8644198b00a89bf
cmd_fetch_pack(): declare dest to be const

There is no need for it to be non-const, and this avoids the need
for casting away the constness of an argv element.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c