Skip to content

Commit

Permalink
git: fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github committed Oct 24, 2024
1 parent 21b473e commit 5dc11b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ locale/
taur
build/
.cache/
taur_r
2 changes: 1 addition & 1 deletion src/taur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ bool TaurBackend::download_git(const std::string_view url, const path& out_path)
{
if (std::filesystem::exists(path(out_path) / ".git"))
{
return taur_exec({ config.git.c_str(), "-C", out_path, "pull", "--autostash", "--rebase", "--ff-only", "--force" });
return taur_exec({ config.git.c_str(), "-C", out_path, "pull", "--autostash", "--rebase", "--force" });
}
else
{
Expand Down

0 comments on commit 5dc11b6

Please sign in to comment.