Skip to content

Commit

Permalink
Split pull button in 2 buttons (fetch and pull)
Browse files Browse the repository at this point in the history
* One for fetch operations,
* One for rebase operations,

With there own default operation setting.

Improvement over gitextensions#3923
  • Loading branch information
pmiossec committed Jul 10, 2020
1 parent 009f197 commit ca0c263
Show file tree
Hide file tree
Showing 5 changed files with 208 additions and 130 deletions.
9 changes: 9 additions & 0 deletions GitCommands/Settings/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,15 @@ public enum PullAction
Default
}

/// <summary>
/// Gets or sets the default fetch action that is performed by the toolbar icon when it is clicked on.
/// </summary>
public static PullAction DefaultFetchAction
{
get => GetEnum("DefaultFetchAction", PullAction.Fetch);
set => SetEnum("DefaultFetchAction", value);
}

/// <summary>
/// Gets or sets the default pull action that is performed by the toolbar icon when it is clicked on.
/// </summary>
Expand Down
Loading

0 comments on commit ca0c263

Please sign in to comment.