summaryrefslogtreecommitdiff
path: root/Documentation/git-write-tree.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-06-17 17:56:52 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-17 17:56:52 -0700
commit75c3a5ccdf114b5485e4828db1923bf4a35b19e2 (patch)
treee919c376fa68f0ce8b46918b499d8ed8516c048a /Documentation/git-write-tree.txt
parentMerge branch 'pe/date' (diff)
parentread-tree: reorganize bind_merge code. (diff)
downloadtgif-75c3a5ccdf114b5485e4828db1923bf4a35b19e2.tar.xz
Merge branch 'jc/rw-prefix'
* jc/rw-prefix: read-tree: reorganize bind_merge code. write-tree: --prefix=<path> read-tree: --prefix=<path>/ option.
Diffstat (limited to 'Documentation/git-write-tree.txt')
-rw-r--r--Documentation/git-write-tree.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt
index 77e12cb949..c85fa89c30 100644
--- a/Documentation/git-write-tree.txt
+++ b/Documentation/git-write-tree.txt
@@ -8,7 +8,7 @@ git-write-tree - Creates a tree object from the current index
SYNOPSIS
--------
-'git-write-tree' [--missing-ok]
+'git-write-tree' [--missing-ok] [--prefix=<prefix>/]
DESCRIPTION
-----------
@@ -30,6 +30,12 @@ OPTIONS
directory exist in the object database. This option disables this
check.
+--prefix=<prefix>/::
+ Writes a tree object that represents a subdirectory
+ `<prefix>`. This can be used to write the tree object
+ for a subproject that is in the named subdirectory.
+
+
Author
------
Written by Linus Torvalds <torvalds@osdl.org>