Skip to content

Commit

Permalink
Update src/libfetchers/git.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
  • Loading branch information
edolstra and Mic92 authored May 13, 2020
1 parent 215f09d commit 849d396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libfetchers/git.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 849d396

Please sign in to comment.