mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-03 10:04:59 +00:00
cleanup<*>: run vs code cleanup to format codestyle and remove unused references
This commit is contained in:
parent
37559b60d4
commit
2cf7192ec4
41 changed files with 77 additions and 89 deletions
|
@ -7,7 +7,7 @@ namespace SourceGit.Views.Popups {
|
|||
/// 应用补丁
|
||||
/// </summary>
|
||||
public partial class Apply : Controls.PopupWidget {
|
||||
private string repo = null;
|
||||
private string repo = null;
|
||||
public string File { get; set; }
|
||||
|
||||
public Apply(string repo) {
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace SourceGit.Views.Popups {
|
|||
/// </summary>
|
||||
public partial class Fetch : Controls.PopupWidget {
|
||||
private string repo = null;
|
||||
|
||||
|
||||
public Fetch(Models.Repository repo, string preferRemote) {
|
||||
this.repo = repo.Path;
|
||||
InitializeComponent();
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace SourceGit.Views.Popups {
|
|||
name = branch.Substring(repo.GitFlow.Feature.Length);
|
||||
break;
|
||||
case Models.GitFlowBranchType.Release:
|
||||
txtPrefix.Text = App.Text("GitFlow.Release");
|
||||
txtPrefix.Text = App.Text("GitFlow.Release");
|
||||
name = branch.Substring(repo.GitFlow.Release.Length);
|
||||
break;
|
||||
case Models.GitFlowBranchType.Hotfix:
|
||||
|
|
|
@ -39,11 +39,11 @@ namespace SourceGit.Views.Popups {
|
|||
return Task.Run(() => {
|
||||
Models.Watcher.SetEnabled(repo.Path, false);
|
||||
var succ = new Commands.Push(
|
||||
repo.Path,
|
||||
localBranch.Name,
|
||||
remoteBranch.Remote,
|
||||
remoteBranch.Name.Replace(" (new)", ""),
|
||||
withTags,
|
||||
repo.Path,
|
||||
localBranch.Name,
|
||||
remoteBranch.Remote,
|
||||
remoteBranch.Name.Replace(" (new)", ""),
|
||||
withTags,
|
||||
force,
|
||||
track,
|
||||
UpdateProgress).Exec();
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SourceGit.Views.Popups {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue