7336f48bd1e90dabf8e735dc27023b65309e1aef
   1git-mktree(1)
   2=============
   3
   4NAME
   5----
   6git-mktree - Build a tree-object from ls-tree formatted text
   7
   8
   9SYNOPSIS
  10--------
  11'git mktree' [-z] [--missing]
  12
  13DESCRIPTION
  14-----------
  15Reads standard input in non-recursive `ls-tree` output format, and creates
  16a tree object.  The order of the tree entries is normalised by mktree so
  17pre-sorting the input is not required.  The object name of the tree object
  18built is written to the standard output.
  19
  20OPTIONS
  21-------
  22-z::
  23        Read the NUL-terminated `ls-tree -z` output instead.
  24
  25--missing::
  26        Allow missing objects.  The default behaviour (without this option)
  27        is to verify that each tree entry's sha1 identifies an existing
  28        object.  This option has no effect on the treatment of gitlink entries
  29        (aka "submodules") which are always allowed to be missing.
  30
  31Author
  32------
  33Written by Junio C Hamano <gitster@pobox.com>
  34
  35Documentation
  36--------------
  37Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
  38
  39GIT
  40---
  41Part of the linkgit:git[1] suite