mirror of
https://github.com/git/git.git
synced 2024-11-26 03:14:50 +08:00
Documentation/git-parse-remote.txt: we deal with config vars as well
... but we never documented it. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
42f62db905
commit
de3820f5e4
@ -14,7 +14,8 @@ DESCRIPTION
|
|||||||
-----------
|
-----------
|
||||||
This script is included in various scripts to supply
|
This script is included in various scripts to supply
|
||||||
routines to parse files under $GIT_DIR/remotes/ and
|
routines to parse files under $GIT_DIR/remotes/ and
|
||||||
$GIT_DIR/branches/.
|
$GIT_DIR/branches/ and configuration variables that are related
|
||||||
|
to fetching, pulling and pushing.
|
||||||
|
|
||||||
The primary entry points are:
|
The primary entry points are:
|
||||||
|
|
||||||
@ -25,7 +26,8 @@ get_remote_refs_for_fetch::
|
|||||||
(e.g. `refs/heads/foo`). When `<refspec>...` is empty
|
(e.g. `refs/heads/foo`). When `<refspec>...` is empty
|
||||||
the returned list of refs consists of the defaults
|
the returned list of refs consists of the defaults
|
||||||
for the given `<repo>`, if specified in
|
for the given `<repo>`, if specified in
|
||||||
`$GIT_DIR/remotes/` or `$GIT_DIR/branches/`.
|
`$GIT_DIR/remotes/`, `$GIT_DIR/branches/`, or `remote.*.fetch`
|
||||||
|
configuration.
|
||||||
|
|
||||||
get_remote_refs_for_push::
|
get_remote_refs_for_push::
|
||||||
Given the list of user-supplied `<repo> <refspec>...`,
|
Given the list of user-supplied `<repo> <refspec>...`,
|
||||||
|
Loading…
Reference in New Issue
Block a user