mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
code_style: move SourceGit.CommandExtensions
to SourceGit.ViewModels.CommandExtensions
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
afe5d4b969
commit
892f3b8032
4 changed files with 14 additions and 16 deletions
|
@ -60,7 +60,7 @@
|
|||
{
|
||||
bool exists = new Remote(repo).HasBranch(remote, name);
|
||||
if (exists)
|
||||
return new Push(repo, remote, $"refs/heads/{name}", true).Use(log).Exec();
|
||||
return new Push(repo, remote, $"refs/heads/{name}", true) { Log = log }.Exec();
|
||||
|
||||
var cmd = new Command();
|
||||
cmd.WorkingDirectory = repo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue