mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 22:01:10 +08:00
feature<Preference>: query git version after selecting git path
This commit is contained in:
@@ -198,9 +198,7 @@ namespace SourceGit.Models {
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool IsReady {
|
||||
get {
|
||||
return !string.IsNullOrEmpty(Git.Path) && File.Exists(Git.Path);
|
||||
}
|
||||
get => File.Exists(Git.Path) && new Commands.Version().Query() != null;
|
||||
}
|
||||
|
||||
#region DATA
|
||||
|
||||
Reference in New Issue
Block a user