X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-write-tree.txt;h=cb8d6aadeb3fc3b55c58bd40b96461a07a124260;hb=a6080a0a44d5ead84db3dabbbc80e82df838533d;hp=77e12cb949201445ab33992f9ff155f647ce167c;hpb=7fb23e6083dbefa8eb4c554d8b2cd5a6292b2df4;p=git.git diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt index 77e12cb94..cb8d6aade 100644 --- a/Documentation/git-write-tree.txt +++ b/Documentation/git-write-tree.txt @@ -3,12 +3,12 @@ git-write-tree(1) NAME ---- -git-write-tree - Creates a tree object from the current index +git-write-tree - Create a tree object from the current index SYNOPSIS -------- -'git-write-tree' [--missing-ok] +'git-write-tree' [--missing-ok] [--prefix=/] DESCRIPTION ----------- @@ -30,6 +30,12 @@ OPTIONS directory exist in the object database. This option disables this check. +--prefix=/:: + Writes a tree object that represents a subdirectory + ``. This can be used to write the tree object + for a subproject that is in the named subdirectory. + + Author ------ Written by Linus Torvalds @@ -41,4 +47,3 @@ Documentation by David Greaves, Junio C Hamano and the git-list