remote.c
60 KB
-
remote: append to FETCH_HEAD rather than overwrite for each refspec · 1b4fbf2e
We treat each refspec on its own, but the code currently overwrites the contents of FETCH_HEAD so we end up with the entries for the last refspec we processed. Instead, truncate it before performing the updates and append to it when updating the references.
Carlos Martín Nieto committed