mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-27 05:15:05 +00:00
ux: add icon to Add To Ignore
panel
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
f022ac24bd
commit
e5bd166568
3 changed files with 20 additions and 8 deletions
|
@ -8,7 +8,7 @@ namespace SourceGit.Models
|
|||
public static readonly List<GitIgnoreFile> Supported = [new(true), new(false)];
|
||||
|
||||
public bool IsShared { get; set; }
|
||||
public string File => IsShared ? ".gitignore" : "$GIT_DIR/info/exclude";
|
||||
public string File => IsShared ? ".gitignore" : "<git_dir>/info/exclude";
|
||||
public string Desc => IsShared ? "Shared" : "Private";
|
||||
|
||||
public GitIgnoreFile(bool isShared)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue