mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-27 02:11:28 -08:00
enhance: only supports using local bare repository as remote (#706)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
d98765364d
commit
f0d8285416
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ namespace SourceGit.Models
|
|||
return true;
|
||||
}
|
||||
|
||||
return Directory.Exists(url);
|
||||
return url.EndsWith(".git", StringComparison.Ordinal) && Directory.Exists(url);
|
||||
}
|
||||
|
||||
public bool TryGetVisitURL(out string url)
|
||||
|
|
Loading…
Add table
Reference in a new issue