Commit 28c99501052c9eb548496dd0bec02f4199e75cb5

Stefan Sperling 2019-08-06T10:31:25

got-worktree.5: document 'staged blob ID'

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/got/got-worktree.5 b/got/got-worktree.5
index 51d3f07..9c61b64 100644
--- a/got/got-worktree.5
+++ b/got/got-worktree.5
@@ -68,6 +68,12 @@ A flags field (intentionally not documented).
 .It Path data
 The path of the entry, relative to the work tree root.
 Path data is of variable length and NUL-padded to a multiple of 8 bytes.
+.It Staged blob object ID
+The SHA1 hash of a blob object containing file content which has been
+staged for commit.
+The hash is stored as binary data.
+Only present if the path has been staged with
+.Cm got stage .
 .El
 .Pp
 A corrupt or missing file index can be recreated on demand with