From: Martin Ågren Date: Fri, 14 Aug 2020 12:21:45 GMT Subject: [PATCH 4/5] shallow.txt: document SHA-256 shallow format Message-ID: <8e498a3b400a2c8390e78de08b83d41e354e7564.1597406877.git.martin.agren@gmail.com> In-Reply-To: Similar to recent commits, document that in SHA-1 repositories, we use SHA-1 for these purposes, and in SHA-256 repositories, we use SHA-256. Signed-off-by: Martin Ågren --- Documentation/technical/shallow.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/technical/shallow.txt b/Documentation/technical/shallow.txt index 01dedfe9ff..f3738baa0f 100644 --- a/Documentation/technical/shallow.txt +++ b/Documentation/technical/shallow.txt @@ -13,7 +13,7 @@ pretend as if they are root commits (e.g. "git log" traversal stops after showing them; "git fsck" does not complain saying the commits listed on their "parent" lines do not exist). -Each line contains exactly one SHA-1. When read, a commit_graft +Each line contains exactly one object name. When read, a commit_graft will be constructed, which has nr_parent < 0 to make it easier to discern from user provided grafts. -- 2.28.0.277.g9b3c35fffd