mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -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));
|
SubjectEditor.Paste(text.Substring(0, idx));
|
||||||
DescriptionEditor.Focus();
|
DescriptionEditor.Focus();
|
||||||
DescriptionEditor.CaretIndex = 0;
|
DescriptionEditor.CaretIndex = 0;
|
||||||
DescriptionEditor.Paste(text.Substring(idx + 1) + "\n");
|
DescriptionEditor.Paste(text.Substring(idx + 1).Trim());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue