feature: warn when commit subject line goes beyond a certain number of characters (#201)

This commit is contained in:
leo 2024-06-23 15:45:54 +08:00
parent d3042bbe8d
commit dca8f8b39b
No known key found for this signature in database
16 changed files with 236 additions and 43 deletions

View file

@ -18,5 +18,8 @@ namespace SourceGit.Converters
public static readonly FuncValueConverter<int, bool> IsNotOne =
new FuncValueConverter<int, bool>(v => v != 1);
public static readonly FuncValueConverter<int, bool> IsBadSubjectLength =
new FuncValueConverter<int, bool>(v => v > ViewModels.Preference.Instance.SubjectGuideLength);
}
}