Merge branch 'js/fetch-multi-lockfix'
authorJunio C Hamano <gitster@pobox.com>
Sun, 1 Dec 2019 17:04:33 +0000 (09:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Dec 2019 17:04:33 +0000 (09:04 -0800)
commitbcb06e204c21538067fbd232415ca704f410dbf7
treefe6ead034f24664dd2dfe12e2cff3318cf01bbef
parentd08daec0011c22e6be34a29a8da5e2011385eae4
parent7d8e72b9700022b3d8c57c3e2be97e52c2828e70
Merge branch 'js/fetch-multi-lockfix'

Fetching from multiple remotes into the same repository in parallel
had a bad interaction with the recent change to (optionally) update
the commit-graph after a fetch job finishes, as these parallel
fetches compete with each other.  Which has been corrected.

* js/fetch-multi-lockfix:
  fetch: avoid locking issues between fetch.jobs/fetch.writeCommitGraph
  fetch: add the command-line option `--write-commit-graph`
builtin/fetch.c