Re: [PATCH 3/4] Documentation/notes: describe content of notes
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- May 4, 2010, 09:28 UTC
- Message-ID
- <201005041128.47879.trast@student.ethz.ch>
- In-Reply-To
- <20100503234229.GC27483@progeny.tock>
Jonathan Nieder wrote:
> +Notes can contain any sequence of non-null bytes. Since they are > +sanitized with linkgit:git-stripspace[1], empty lines other than a > +single line separating paragraphs are not significant.
It even goes slightly further: create_note() calls stripspace() with the skip_comments option enabled, so comment lines are also removed. ('git notes add' actually puts `git show --stat` in a big comment block...)
--
Thomas Rast
trast@{inf,student}.ethz.ch