Code

remote.c: refactor creation of new dst ref
authorJunio C Hamano <gitster@pobox.com>
Sat, 9 Jun 2007 07:07:34 +0000 (00:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Jun 2007 18:53:01 +0000 (11:53 -0700)
commit163f0ee5ad0a5cb7d862431479c270ae3fef79cf
tree8c22bb71f02f419cc68164172ddc7b302cee3d03
parent54a8ad925cfac90bb4141c9904b1f97f0c5b83d4
remote.c: refactor creation of new dst ref

This refactors open-coded sequence to create a new "struct ref"
and link it to the tail of dst list into a new function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c