Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/git-parse-remote.txt: we deal with config vars as well
author
Junio C Hamano
<junkio@cox.net>
Wed, 17 Jan 2007 21:06:32 +0000
(13:06 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 17 Jan 2007 21:06:32 +0000
(13:06 -0800)
... but we never documented it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-parse-remote.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
42f62db
)
diff --git
a/Documentation/git-parse-remote.txt
b/Documentation/git-parse-remote.txt
index fc27afe26d9d174c350e00804071630f879c663c..918ca55f5332e09ec3b54e715a3193766a0d4747 100644
(file)
--- a/
Documentation/git-parse-remote.txt
+++ b/
Documentation/git-parse-remote.txt
@@
-14,7
+14,8
@@
DESCRIPTION
-----------
This script is included in various scripts to supply
routines to parse files under $GIT_DIR/remotes/ and
-----------
This script is included in various scripts to supply
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
the returned list of refs consists of the defaults
for the given `<repo>`, if specified in
(e.g. `refs/heads/foo`). When `<refspec>...` is empty
the returned list of refs consists of the defaults
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::
Given the list of user-supplied `<repo> <refspec>...`,
get_remote_refs_for_push::
Given the list of user-supplied `<repo> <refspec>...`,