mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07: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