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>
Christian Schlotter committed
Feb 19, 2007 at 13:35 UTC
f496454e0fd22d003e9c9b5c3742b12d526bc0a4
2 files changed
+3
-3
Documentation/RelNotes-1.5.0.txt
+1
-1
@@ -448,7 +448,7 @@ Updates in v1.5.0 since v1.4.4 series
448
- There is a partial support for 'shallow' repositories that
449
keeps only recent history. A 'shallow clone' is created by
450
specifying how deep that truncated history should be
451
- (e.g. "git clone --depth=5 git://some.where/repo.git").
451
+ (e.g. "git clone --depth 5 git://some.where/repo.git").
452
453
Currently a shallow repository has number of limitations:
454
Documentation/git-clone.txt
+2
-2
@@ -11,7 +11,7 @@ SYNOPSIS
11
[verse]
12
'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare]
13
[-o <name>] [-u <upload-pack>] [--reference <repository>]
14
- [--depth=<depth>] <repository> [<directory>]
14
+ [--depth <depth>] <repository> [<directory>]
15
16
DESCRIPTION
17
-----------
@@ -96,7 +96,7 @@ OPTIONS
96
if unset the templates are taken from the installation
97
defined default, typically `/usr/share/git-core/templates`.
98
99
---depth=<depth>::
99
+--depth <depth>::
100
Create a 'shallow' clone with a history truncated to the
101
specified number of revs. A shallow repository has
102
number of limitations (you cannot clone or fetch from