aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-write-tree.txt
diff options
context:
space:
mode:
authorBryan Larsen <bryanlarsen@yahoo.com>2005-07-10 20:53:44 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-11 10:20:53 -0700
commit9c1fa70aaa03f48fb172f9a96d57148f144bc3a9 (patch)
treea4033404b659642fea1aec200472a658c7eecbd5 /Documentation/git-write-tree.txt
parentab90ea5d6e6ef358c8ee5869307c33a939be0e66 (diff)
downloadgit-9c1fa70aaa03f48fb172f9a96d57148f144bc3a9.tar.gz
[PATCH] add --missing-ok option to write-tree
This option allows a write-tree even if the referenced objects are not in the database. Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/git-write-tree.txt')
-rw-r--r--Documentation/git-write-tree.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt
index 458d97ac98..4c7db5f59a 100644
--- a/Documentation/git-write-tree.txt
+++ b/Documentation/git-write-tree.txt
@@ -10,6 +10,7 @@ git-write-tree - Creates a tree from the current cache
SYNOPSIS
--------
'git-write-tree'
+ [--missing-ok]
DESCRIPTION
-----------
@@ -23,7 +24,11 @@ In order to have that match what is actually in your directory right
now, you need to have done a "git-update-cache" phase before you did the
"git-write-tree".
-
+OPTIONS
+-------
+--missing-ok::
+ Normally "git-write-tree" ensures that the objects referenced by the
+ directory exist in the object database. This option disables this check.
////////////////////////////////////////////////////////////////