mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
fix: both --tags
and --no-tags
are used in git pull
command
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
81bbe11345
commit
78c0d8d334
1 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,11 @@ namespace SourceGit.Commands
|
||||||
Context = repo;
|
Context = repo;
|
||||||
TraitErrorAsOutput = true;
|
TraitErrorAsOutput = true;
|
||||||
SSHKey = new Config(repo).Get($"remote.{remote}.sshkey");
|
SSHKey = new Config(repo).Get($"remote.{remote}.sshkey");
|
||||||
Args = "pull --verbose --progress --tags ";
|
Args = "pull --verbose --progress ";
|
||||||
|
|
||||||
if (useRebase)
|
if (useRebase)
|
||||||
Args += "--rebase ";
|
Args += "--rebase=true ";
|
||||||
|
|
||||||
if (noTags)
|
if (noTags)
|
||||||
Args += "--no-tags ";
|
Args += "--no-tags ";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue