fuzzer: Don't assume that the out dir is inside the src git repository.

This might not be the case in general. Not only could a output directory
exist elsewhere altogether (though this only fixes one issue that breaks
when you do that), but it could be a symlink or another filesystem; in
such cases git does not consider it part of the repository.

This can be addressed by explicitly giving the path to src.git when issuing
git commands.

Change-Id: Ibf62466548e15d6ef57ed1e959d507ff70076352
Reviewed-on: https://chromium-review.googlesource.com/1131842
Commit-Queue: Max Moroz <mmoroz@chromium.org>
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574574}
2 files changed