Skip to content

Commit 2b885bd

Browse files
committed
Add back IsExecutingGitAction
1 parent 947ccb5 commit 2b885bd

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/Files.App/Utils/Git/GitHelpers.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ internal static partial class GitHelpers
2929
/// <inheritdoc cref="IVersionControl.GetRepositoryHead(string?)"/>
3030
public static Task<BranchItem?> GetRepositoryHead(string? path) => _implementation.GetRepositoryHead(path);
3131

32+
/// <inheritdoc cref="IVersionControl.IsExecutingGitAction"/>
33+
public static bool IsExecutingGitAction
34+
{
35+
get => _implementation.IsExecutingGitAction;
36+
set => _implementation.IsExecutingGitAction = value;
37+
}
38+
3239
#region Legacy implementation
3340

3441
// Property already moved into abstraction

src/Files.App/Utils/Git/IVersionControl.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ namespace Files.App.Utils.Git
1414
/// </remarks>
1515
internal interface IVersionControl
1616
{
17-
/// <summary>
18-
/// Determines whether a version control operation is occurring or not.
19-
/// </summary>
20-
bool IsExecutingGitAction;
21-
2217
/// <summary>
2318
/// Attempts to locate the root of a version control repository (by walking up the directory hierarchy).
2419
/// </summary>

0 commit comments

Comments
 (0)