mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
enhance: trim description of commit message while pasting on subject
This commit is contained in:
parent
ff8456bcba
commit
2a05ffa30f
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ namespace SourceGit.Views
|
|||
SubjectEditor.Paste(text.Substring(0, idx));
|
||||
DescriptionEditor.Focus();
|
||||
DescriptionEditor.CaretIndex = 0;
|
||||
DescriptionEditor.Paste(text.Substring(idx + 1) + "\n");
|
||||
DescriptionEditor.Paste(text.Substring(idx + 1).Trim());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue