]> asedeno.scripts.mit.edu Git - git.git/commit
fetch: Future-proof initialization of a refspec on stack
authorAndreas Gruenbacher <agruen@suse.de>
Fri, 12 Mar 2010 22:27:33 +0000 (23:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Mar 2010 16:27:17 +0000 (09:27 -0700)
commit8da61a2ab48175526390233c8bcedf63a3cdb6c4
tree666b4f822a943fe70ef1b07f1cfd7e637f7f5b54
parentaac1d7b88918f39b1b7c5bc0dcf831dcc9d5d8a8
fetch: Future-proof initialization of a refspec on stack

The open-coded version to initialize each and every member will break
when a new member is added to the structure.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c