aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-repo-config.txt
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-03 22:47:55 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-03 18:35:19 -0700
commitdc2613de8633cecb1c0759657eadf6a637cebfa5 (patch)
tree2921e9bca0645ac65dd9c8a3207e6d395bca9e8e /Documentation/git-repo-config.txt
parent6fcca938b05c33bcd8b502d6b6f178e377609fa3 (diff)
downloadgit-dc2613de8633cecb1c0759657eadf6a637cebfa5.tar.gz
git-dc2613de8633cecb1c0759657eadf6a637cebfa5.tar.xz
Git.pm: Add config() method
This accessor will retrieve value(s) of the given configuration variable. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-repo-config.txt')
-rw-r--r--Documentation/git-repo-config.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-repo-config.txt b/Documentation/git-repo-config.txt
index 803c0d5ca..cc72fa9b7 100644
--- a/Documentation/git-repo-config.txt
+++ b/Documentation/git-repo-config.txt
@@ -54,7 +54,8 @@ OPTIONS
--get::
Get the value for a given key (optionally filtered by a regex
- matching the value).
+ matching the value). Returns error code 1 if the key was not
+ found and error code 2 if multiple key values were found.
--get-all::
Like get, but does not fail if the number of values for the key