mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-26 21:17:20 -08:00
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:
parent
503f700fc2
commit
1f158eeded
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ namespace SourceGit.Commands
|
||||||
if (noTags)
|
if (noTags)
|
||||||
Args += "--no-tags ";
|
Args += "--no-tags ";
|
||||||
else
|
else
|
||||||
Args += "--force ";
|
Args += "--tags ";
|
||||||
|
|
||||||
if (prune)
|
if (prune)
|
||||||
Args += "--prune ";
|
Args += "--prune ";
|
||||||
|
|
Loading…
Reference in a new issue