From 1366d8e8585bb29418da6eb7bc2d6c2fb81c491e Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 6 Apr 2021 16:06:36 +0800 Subject: [PATCH] refactor: remove commit template due to bad implementation --- src/Git/Repository.cs | 4 ---- src/UI/Configure.xaml | 20 ++------------------ src/UI/Configure.xaml.cs | 6 ------ src/UI/WorkingCopy.xaml | 1 - src/UI/WorkingCopy.xaml.cs | 9 --------- 5 files changed, 2 insertions(+), 38 deletions(-) diff --git a/src/Git/Repository.cs b/src/Git/Repository.cs index c11f3169..e3609b5c 100644 --- a/src/Git/Repository.cs +++ b/src/Git/Repository.cs @@ -54,10 +54,6 @@ namespace SourceGit.Git { /// Last 10 Commit message. /// public List CommitMsgRecords { get; set; } = new List(); - /// - /// Commit template. - /// - public string CommitTemplate { get; set; } #endregion #region PROPERTIES_RUNTIME diff --git a/src/UI/Configure.xaml b/src/UI/Configure.xaml index 368874ee..d64572c8 100644 --- a/src/UI/Configure.xaml +++ b/src/UI/Configure.xaml @@ -6,7 +6,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helpers="clr-namespace:SourceGit.Helpers" mc:Ignorable="d" - d:DesignHeight="450" d:DesignWidth="500" Width="500" Height="314"> + d:DesignHeight="150" d:DesignWidth="500" Width="500" Height="150"> @@ -14,10 +14,6 @@ - - - - @@ -43,20 +39,8 @@ Text="{Binding ElementName=me, Path=UserEmail, Mode=TwoWay}" helpers:TextBoxHelper.Placeholder="{StaticResource Text.Configure.Email.Placeholder}"/> - -