refactor: use --tags instead of --force for git fetch command if Fetch without tags is turned off (#684)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-12 09:27:53 +08:00
parent 503f700fc2
commit 1f158eeded
No known key found for this signature in database

View file

@ -16,7 +16,7 @@ namespace SourceGit.Commands
if (noTags)
Args += "--no-tags ";
else
Args += "--force ";
Args += "--tags ";
if (prune)
Args += "--prune ";