Merge pull request #6192 from externl/master

Fix #6188 - Remove ambiguity from branch reset command
This commit is contained in:
Markus Reiter 2019-05-31 19:30:00 +02:00 committed by GitHub
commit 4ce405ff74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -746,7 +746,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
end
system_command! "git",
args: ["reset", "--hard", *ref],
args: ["reset", "--hard", *ref, "--"],
chdir: cached_location
end