summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-25 13:40:38 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-25 13:40:38 +0200
commit23aa7c9037960ca38adce3164cd329e1ba5a752c (patch)
tree3568698f1cd4e976880430ebe202f5028152b3b0 /tests/diff/binary.c
parent0c34fa5094ba624ebe398d1b154fd27c207108cb (diff)
downloadlibgit2-23aa7c9037960ca38adce3164cd329e1ba5a752c.tar.gz
remote: insert refspecs with no rhs in FETCH_HEADcmn/fetch-spec-fetchhead
When a refspec contains no rhs and thus won't cause an explicit update, we skip all the logic, but that means that we don't update FETCH_HEAD with it, which is what the implicit rhs is. Add another bit of logic which puts those remote heads in the list of updates so we put them into FETCH_HEAD.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions