Update src/libfetchers/git.cc

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Eelco Dolstra
2020-05-13 10:41:21 +02:00
committed by GitHub
co-authored by Jörg Thalheim
parent 215f09d765
commit 849d3968db
+1 -1
View File
@@ -129,7 +129,7 @@ struct GitInput : Input
assert(sourcePath);
runProgram("git", true,
{ "-C", *sourcePath, "add", "--force", "--intent-to-add", std::string(file) });
{ "-C", *sourcePath, "add", "--force", "--intent-to-add", "--", std::string(file) });
if (commitMsg)
runProgram("git", true,