mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
feature<Preference>: query git version after selecting git path
This commit is contained in:
parent
1a5fdc540c
commit
ebc2fc6b91
6 changed files with 70 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue