6 git-mktree - Build a tree-object from ls-tree formatted text
12 'git mktree' [-z] [--missing] [--batch]
16 Reads standard input in non-recursive `ls-tree` output format, and creates
17 a tree object. The order of the tree entries is normalized by mktree so
18 pre-sorting the input is not required. The object name of the tree object
19 built is written to the standard output.
24 Read the NUL-terminated `ls-tree -z` output instead.
27 Allow missing objects. The default behaviour (without this option)
28 is to verify that each tree entry's sha1 identifies an existing
29 object. This option has no effect on the treatment of gitlink entries
30 (aka "submodules") which are always allowed to be missing.
33 Allow building of more than one tree object before exiting. Each
34 tree is separated by a single blank line. The final new-line is
35 optional. Note - if the `-z` option is used, lines are terminated
40 Part of the linkgit:git[1] suite