path: root/perl/
diff options
authorTom Prince <>2007-01-29 00:16:53 (GMT)
committerJunio C Hamano <>2007-01-29 00:16:53 (GMT)
commite0d10e1c63bc52b37bbec99b07deee794058d9b4 (patch)
tree6fa070c660ff481e226b10aadbec5b7bb3b95cc7 /perl/
parent829a686f1b50ba96cac2d88494fa339efe0c0862 (diff)
[PATCH] Rename git-repo-config to git-config.
Signed-off-by: Tom Prince <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'perl/')
1 files changed, 4 insertions, 4 deletions
diff --git a/perl/ b/perl/
index c1729ba..5d1ccaa 100644
--- a/perl/
+++ b/perl/
@@ -482,14 +482,14 @@ sub wc_chdir {
=item config ( VARIABLE )
-Retrieve the configuration C<VARIABLE> in the same manner as C<repo-config>
+Retrieve the configuration C<VARIABLE> in the same manner as C<config>
does. In scalar context requires the variable to be set only one time
(exception is thrown otherwise), in array context returns allows the
variable to be set multiple times and returns all the values.
Must be called on a repository instance.
-This currently wraps command('repo-config') so it is not so fast.
+This currently wraps command('config') so it is not so fast.
@@ -500,9 +500,9 @@ sub config {
try {
if (wantarray) {
- return $self->command('repo-config', '--get-all', $var);
+ return $self->command('config', '--get-all', $var);
} else {
- return $self->command_oneline('repo-config', '--get', $var);
+ return $self->command_oneline('config', '--get', $var);
} catch Git::Error::Command with {
my $E = shift;