Code

Fix remote.<remote>.vcs
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Wed, 27 Jan 2010 17:53:17 +0000 (19:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jan 2010 20:05:04 +0000 (12:05 -0800)
commit4da504608ea94fbcac65eb287d8d5791bddefd88
treeb539aaa5ab90cd4e8594c456f76fa0fff509bfd2
parentd539de9f25920f099e4e56b0acbb4ebf246ff0f4
Fix remote.<remote>.vcs

remote.<remote>.vcs causes remote->foreign_vcs to be set on entry to
transport_get(). Unfortunately, the code assumed that any such entry
is stale from previous round.

Fix this by making VCS set by URL to be volatile w.r.t. transport_get()
instead.

Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Acked-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c