From 849d3968dbe8c18651e1a7fbf071fc3304257517 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 May 2020 10:41:21 +0200 Subject: [PATCH] Update src/libfetchers/git.cc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- src/libfetchers/git.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,