diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 18:40:10 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 18:40:10 +0200 |
commit | 0c8f1c3a58c4707284cc6368af26715520a220c0 (patch) | |
tree | 332ad69706cf8633bcd2dc246855350830a95ffc /bridge/gitlab/import_notes.go | |
parent | 0329bfdf440ec48c5c5c5c6dbe2ca8519d99b706 (diff) | |
download | git-bug-0c8f1c3a58c4707284cc6368af26715520a220c0.tar.gz |
bridge/gitlab: fix comment edition target hash in the import
bridge/gitlab: global changes, typo fixes, comments addition
Diffstat (limited to 'bridge/gitlab/import_notes.go')
-rw-r--r-- | bridge/gitlab/import_notes.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/gitlab/import_notes.go b/bridge/gitlab/import_notes.go index a096b14e..06c0a242 100644 --- a/bridge/gitlab/import_notes.go +++ b/bridge/gitlab/import_notes.go @@ -28,6 +28,8 @@ const ( // GetNoteType parse a note system and body and return the note type and it content func GetNoteType(n *gitlab.Note) (NoteType, string) { + // when a note is a comment system is set to false + // when a note is a different event system is set to true if !n.System { return NOTE_COMMENT, n.Body } |