From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Rast Subject: Re: [PATCH 3/4] Documentation/notes: describe content of notes Date: Tue, 4 May 2010 11:28:47 +0200 Message-ID: <201005041128.47879.trast@student.ethz.ch> References: <20100503233604.GA27451@progeny.tock> <20100503234229.GC27483@progeny.tock> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: , Johan Herland , Johannes Schindelin To: Jonathan Nieder X-From: git-owner@vger.kernel.org Tue May 04 11:29:17 2010 connect(): No such file or directory Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9ERJ-00061n-Bq for gcvg-git-2@lo.gmane.org; Tue, 04 May 2010 11:29:17 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752684Ab0EDJ3M (ORCPT ); Tue, 4 May 2010 05:29:12 -0400 Received: from gwse.ethz.ch ([129.132.178.238]:2163 "EHLO gwse.ethz.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab0EDJ3L (ORCPT ); Tue, 4 May 2010 05:29:11 -0400 Received: from CAS01.d.ethz.ch (129.132.178.235) by gws01.d.ethz.ch (129.132.178.238) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 4 May 2010 11:29:09 +0200 Received: from thomas.localnet (129.132.153.233) by mail.ethz.ch (129.132.178.227) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 4 May 2010 11:28:48 +0200 User-Agent: KMail/1.13.2 (Linux/2.6.31.12-0.2-desktop; KDE/4.4.2; x86_64; ; ) In-Reply-To: <20100503234229.GC27483@progeny.tock> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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