darcs

Issue 2559 extra newline inserted to patch description when using editor

Title extra newline inserted to patch description when using editor
Priority Status resolved
Milestone Resolved in
Superseder Nosy List gh
Assigned To
Topics

Created on 2017-10-29.15:34:19 by gh, last changed 2018-03-28.14:39:52 by gh.

Messages
msg19797 (view) Author: gh Date: 2017-10-29.15:34:18
The new empty line is inserted before the editor is opened.

This is from HEAD, can be observed by running "darcs record" without -m
flag or with "darcs amend --edit".
msg19798 (view) Author: bfrk Date: 2017-10-29.23:03:17
I stumbled over this more than once. You have to remember to delete the
empty line (before the comments). I agree that we should fix this.

One possibility would be to delete trailing newlines from the long
comment before we store it. This would make the long comments robust
against this particular formatting error.
History
Date User Action Args
2017-10-29 15:34:19ghcreate
2017-10-29 23:03:19bfrksetmessages: + msg19798
2018-03-28 14:39:52ghsetstatus: unknown -> resolved