aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-clone.txt
diff options
context:
space:
mode:
authorChristian Schlotter <schlotter@users.sourceforge.net>2007-02-19 13:35:35 +0100
committerJunio C Hamano <junkio@cox.net>2007-02-19 18:14:29 -0800
commitf496454e0fd22d003e9c9b5c3742b12d526bc0a4 (patch)
tree3699d2083ba46987a0df0d45d5af84d22a56c4c9 /Documentation/git-clone.txt
parent4bc94d289221e16cccbc72f73b3b5b1de0b822c5 (diff)
downloadgit-f496454e0fd22d003e9c9b5c3742b12d526bc0a4.tar.gz
git-f496454e0fd22d003e9c9b5c3742b12d526bc0a4.tar.xz
git-clone: Sync documentation to usage note.
Documentation advertises the new `--depth <n>' parameter with an equal sign, while the usage notes (shown after `git-clone --help') do not. If I understood git-clone's source code correctly, the version without the equal sign is correct, which is why this patch syncs documentation to the usage note. Signed-off-by: Christian Schlotter <schlotter@users.sourceforge.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r--Documentation/git-clone.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 707376f22..6d32c491a 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -11,7 +11,7 @@ SYNOPSIS
[verse]
'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare]
[-o <name>] [-u <upload-pack>] [--reference <repository>]
- [--depth=<depth>] <repository> [<directory>]
+ [--depth <depth>] <repository> [<directory>]
DESCRIPTION
-----------
@@ -96,7 +96,7 @@ OPTIONS
if unset the templates are taken from the installation
defined default, typically `/usr/share/git-core/templates`.
---depth=<depth>::
+--depth <depth>::
Create a 'shallow' clone with a history truncated to the
specified number of revs. A shallow repository has
number of limitations (you cannot clone or fetch from