remote.c
29.9 KB
-
remote: don't try to update FETCH_HEAD if no extra heads exist · 404eadb0
Don't try to update anything if there are no heads to update. This saves us from trying to look into a fetch refspec when there is none. A better fix for compatibility with git when using remotes without refspecs is still needed, but this stops us from segfaulting.
Carlos Martín Nieto committed