aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/git.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-13 10:41:21 +0200
committerGitHub <noreply@github.com>2020-05-13 10:41:21 +0200
commit849d3968dbe8c18651e1a7fbf071fc3304257517 (patch)
tree3cdf40a5c22e3096448ba411c23e607302e1c0db /src/libfetchers/git.cc
parent215f09d7656b394f8bcf45c9aa3a4c2b0287469d (diff)
Update src/libfetchers/git.cc
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
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 210e29193..c9f9a4b23 100644
--- a/src/libfetchers/git.cc
+++ b/src/libfetchers/git.cc
@@ -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,