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 Nov 26, 2020
1 parent 60e265d commit 7871890
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 @@ -751,6 +751,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 7871890

Please sign in to comment.