remote.c
58.5 KB
-
remote: insert refspecs with no rhs in FETCH_HEAD · 23aa7c90
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.
Carlos Martín Nieto committed