summaryrefslogtreecommitdiff
path: root/Documentation/git-repo-config.txt
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-03 20:47:55 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-04 01:35:19 (GMT)
commitdc2613de8633cecb1c0759657eadf6a637cebfa5 (patch)
tree2921e9bca0645ac65dd9c8a3207e6d395bca9e8e /Documentation/git-repo-config.txt
parent6fcca938b05c33bcd8b502d6b6f178e377609fa3 (diff)
downloadgit-dc2613de8633cecb1c0759657eadf6a637cebfa5.zip
git-dc2613de8633cecb1c0759657eadf6a637cebfa5.tar.gz
git-dc2613de8633cecb1c0759657eadf6a637cebfa5.tar.bz2
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 803c0d5..cc72fa9 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