mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
enhance: append character U+26D4 to line when \ No newline at end of file
is found in git diff
output (#1197)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
e9036b5fb9
commit
db46de0261
3 changed files with 28 additions and 10 deletions
|
@ -30,6 +30,7 @@ namespace SourceGit.Models
|
|||
public int OldLineNumber { get; set; } = 0;
|
||||
public int NewLineNumber { get; set; } = 0;
|
||||
public List<TextInlineRange> Highlights { get; set; } = new List<TextInlineRange>();
|
||||
public bool NoNewLineEndOfFile { get; set; } = false;
|
||||
|
||||
public string OldLine => OldLineNumber == 0 ? string.Empty : OldLineNumber.ToString();
|
||||
public string NewLine => NewLineNumber == 0 ? string.Empty : NewLineNumber.ToString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue