mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -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));
|
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