Skip to content

Commit

Permalink
Split pull button in 3 buttons
Browse files Browse the repository at this point in the history
* One for fetch operations,
* One for rebase operations,
* One for the more generic "pull dialog"

The first two with there own default operation setting.

Improvement over gitextensions#3923
  • Loading branch information
pmiossec committed Jul 3, 2020
1 parent fa7fd69 commit a446dfd
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 a446dfd

Please sign in to comment.