aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/git.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 08:19:41 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-14 10:07:31 +0200
commit76e368a3b4b8d66b66c4a2a72016a2cc8a013a5c (patch)
tree60e64467d58d6a64ffeb9e5e13b63d7a73938484 /src/libfetchers/git.cc
parent1ba993d07c8e823c6051de207b9d1fe07aa16656 (diff)
Fix macOS build
Diffstat (limited to 'src/libfetchers/git.cc')
-rw-r--r--src/libfetchers/git.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/git.cc b/src/libfetchers/git.cc
index 9e895904e..5af38dde9 100644
--- a/src/libfetchers/git.cc
+++ b/src/libfetchers/git.cc
@@ -413,7 +413,7 @@ struct GitInputScheme : InputScheme
AutoDelete delTmpDir(tmpDir, true);
PathFilter filter = defaultPathFilter;
- auto result = runProgram({
+ auto result = runProgram(RunOptions {
.program = "git",
.args = { "-C", repoDir, "cat-file", "commit", input.getRev()->gitRev() },
.mergeStderrToStdout = true