attempt to reduce amount of fetches: if we did not find a commit in local clone we... master
authorPavel Sher <pavel.sher@jetbrains.com>
Mon, 28 Jan 2019 17:10:33 +0000 (18:10 +0100)
committerPavel Sher <pavel.sher@jetbrains.com>
Mon, 28 Jan 2019 17:10:33 +0000 (18:10 +0100)
commitd0d52d0f99094195fc7dd748d8ad95d65d38e93a
treec520d053313478c7db6fc81bc3f21dc663dd24f6
parentfed41d20a330ac9dddccbe8427da83039f42a4f8
attempt to reduce amount of fetches: if we did not find a commit in local clone we need to check that there are no active fetch operations and if there is some, we need to wait for it to finish and try to find commit again

if we don't do that, then when fetch finishes we'll perform one more fetch even though it is unnecessary because commit is already fetched
git-server/src/jetbrains/buildServer/buildTriggers/vcs/git/GitCollectChangesPolicy.java