commentChar=auto not supported
https://github.com/github/hub/issues/1512 is definitely also an issue in lab.
the issue has been resolved in hub, check out the changeset here: https://github.com/github/hub/pull/1660
Considering the way lab works today, I'm kinda skeptical it's still a problem for us.
@zaquestion any thoughts? I'm inclined to close it.
I wouldn't be surprised if this is still an issue. That said I think the bigger/more important update to make is https://github.com/zaquestion/lab/issues/334
Hi, I have come across this issues as I am using commentChar=; and have noticed that it adversely affects writing notes.
lab issue 123 note opens an editor with the following content:
# This comment is being applied to OPEN Issue 1040.
; Write a message for this note. Commented lines are discarded.
This is because https://github.com/zaquestion/lab/blob/master/cmd/note_common.go#L182 uses commentChar, while https://github.com/zaquestion/lab/blob/master/cmd/note_common.go#L114 and https://github.com/zaquestion/lab/blob/master/cmd/note_common.go#L126 use #
The result is that I have to delete one of the lines in the editor, if my commentChar is not set to #, or that line will appear in the comment. If commentChar=auto I suspect I'd have to delete both lines, although I haven't tested that to confirm it.