зеркало из https://github.com/microsoft/git.git
Documentation: Fix references to deprecated commands
... by changing git-tar-tree reference to git-archive and removing seemingly unrelevant footnote about git-ssh-{fetch,upload}. Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
Родитель
5b98d9bca1
Коммит
c251005c7a
|
@ -1082,11 +1082,6 @@ server like git Native transport does. Any stock HTTP server
|
||||||
that does not even support directory index would suffice. But
|
that does not even support directory index would suffice. But
|
||||||
you must prepare your repository with `git-update-server-info`
|
you must prepare your repository with `git-update-server-info`
|
||||||
to help dumb transport downloaders.
|
to help dumb transport downloaders.
|
||||||
+
|
|
||||||
There are (confusingly enough) `git-ssh-fetch` and `git-ssh-upload`
|
|
||||||
programs, which are 'commit walkers'; they outlived their
|
|
||||||
usefulness when git Native and SSH transports were introduced,
|
|
||||||
and not used by `git pull` or `git push` scripts.
|
|
||||||
|
|
||||||
Once you fetch from the remote repository, you `merge` that
|
Once you fetch from the remote repository, you `merge` that
|
||||||
with your current branch.
|
with your current branch.
|
||||||
|
|
|
@ -3,7 +3,7 @@ git-get-tar-commit-id(1)
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
----
|
----
|
||||||
git-get-tar-commit-id - Extract commit ID from an archive created using git-tar-tree
|
git-get-tar-commit-id - Extract commit ID from an archive created using git-archive
|
||||||
|
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
|
@ -14,12 +14,12 @@ SYNOPSIS
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
Acts as a filter, extracting the commit ID stored in archives created by
|
Acts as a filter, extracting the commit ID stored in archives created by
|
||||||
git-tar-tree. It reads only the first 1024 bytes of input, thus its
|
gitlink:git-archive[1]. It reads only the first 1024 bytes of input, thus its
|
||||||
runtime is not influenced by the size of <tarfile> very much.
|
runtime is not influenced by the size of <tarfile> very much.
|
||||||
|
|
||||||
If no commit ID is found, git-get-tar-commit-id quietly exists with a
|
If no commit ID is found, git-get-tar-commit-id quietly exists with a
|
||||||
return code of 1. This can happen if <tarfile> had not been created
|
return code of 1. This can happen if <tarfile> had not been created
|
||||||
using git-tar-tree or if the first parameter of git-tar-tree had been
|
using git-archive or if the first parameter of git-archive had been
|
||||||
a tree ID instead of a commit ID or tag.
|
a tree ID instead of a commit ID or tag.
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче