summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorLibravatar Carlos Martín Nieto <cmn@elego.de>2011-10-15 07:04:24 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-15 21:55:05 -0700
commitc500352e0de75db34b1a071a9e250b815d10f95b (patch)
tree423e941d02aad451b23328704131122a42c61372 /sequencer.c
parentt5510: add tests for fetch --prune (diff)
downloadtgif-c500352e0de75db34b1a071a9e250b815d10f95b.tar.xz
remote: separate out the remote_find_tracking logic into query_refspecs
Move the body of remote_find_tracking() to a new helper query_refspecs() that finds a refspec that matches and applies the transformation, but explicitly takes the list of refspecs, and make remote_find_tracking() a thin wrapper of it. Make apply_refspecs() also use query_refspecs(). Signed-off-by: Carlos Martín Nieto <cmn@elego.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
0 files changed, 0 insertions, 0 deletions