]> granicus.if.org Git - git/commitdiff
git-fetch-pack uses URLs like git-fetch
authorTorsten Bögershausen <tboegi@web.de>
Fri, 8 Nov 2013 17:54:05 +0000 (18:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Nov 2013 20:18:05 +0000 (12:18 -0800)
"git fetch-pack" allows [<host>:]<directory> to point out the source
repository.
Use the term <repository>, which is already used in "git fetch" or "git pull"
to describe URLs supported by Git.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fetch-pack.txt

index 1e717543470c0440a72812a046bcadf0e52e4953..906c0abb0e599ad81f53a0404150f23a88ed108d 100644 (file)
@@ -12,7 +12,7 @@ SYNOPSIS
 'git fetch-pack' [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]
        [--upload-pack=<git-upload-pack>]
        [--depth=<n>] [--no-progress]
-       [-v] [<host>:]<directory> [<refs>...]
+       [-v] <repository> [<refs>...]
 
 DESCRIPTION
 -----------
@@ -93,19 +93,18 @@ be in a separate packet, and the list must end with a flush packet.
 -v::
        Run verbosely.
 
-<host>::
-       A remote host that houses the repository.  When this
-       part is specified, 'git-upload-pack' is invoked via
-       ssh.
-
-<directory>::
-       The repository to sync from.
+<repository>::
+       The URL to the remote repository.
 
 <refs>...::
        The remote heads to update from. This is relative to
        $GIT_DIR (e.g. "HEAD", "refs/heads/master").  When
        unspecified, update from all heads the remote side has.
 
+SEE ALSO
+--------
+linkgit:git-fetch[1]
+
 GIT
 ---
 Part of the linkgit:git[1] suite