Mark the list of refs to fetch as const
commit2d5c298f91b4b76a8b51b9b66283ef5a872736a0
authorDaniel Barkalow <barkalow@iabervon.org>
Thu, 17 Apr 2008 23:32:22 +0000 (17 19:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 May 2008 00:41:44 +0000 (4 17:41 -0700)
treeb24f7622fba5d782fe42c94d4f17fd7bd5080808
parentc697ad143ba1ff58b29e7efe149d244d4b7010a5
Mark the list of refs to fetch as const

Fetching the objects doesn't actually modify the list in any of the
code paths, so this will allow code that fetches the entire (const)
list of available refs to just pass the list in directly.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c
transport.h