From: Jonathan Nieder Date: Wed, 02 Feb 2011 05:00:22 GMT Subject: [PATCH 1/2] Documentation/fast-import: explain how to remove a note Message-ID: <20110202050022.GD15285@elie> In-Reply-To: <20110202045826.GC15285@elie> A notemodify (N) command with blob id consisting of 40 zeroes (so is_null_sha1 is true) means to not add a note to replace the existing, removed one. Signed-off-by: Jonathan Nieder --- Documentation/git-fast-import.txt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index 4415e63..086b14f 100644 --- a/Documentation/git-fast-import.txt +++ b/Documentation/git-fast-import.txt @@ -651,9 +651,9 @@ External data format:: 'N' SP SP LF .... + -Here `` can be either a mark reference (`:`) -set by a prior `blob` command, or a full 40-byte SHA-1 of an -existing Git blob object. +Here `` can be a mark reference (`:`) +set by a prior `blob` command, a full 40-byte SHA-1 of an +existing Git blob object, or 40 zeroes, to remove a note. Inline data format:: The data content for the note has not been supplied yet. -- 1.7.2.3