[PATCH 1/2] Documentation/fast-import: explain how to remove a note
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 2, 2011, 05:00 UTC
- 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 <jrnieder@gmail.com> --- 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 <dataref> SP <committish> LF .... + -Here `<dataref>` can be either a mark reference (`:<idnum>`) -set by a prior `blob` command, or a full 40-byte SHA-1 of an -existing Git blob object. +Here `<dataref>` can be a mark reference (`:<idnum>`) +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