From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Verdoolaege Subject: [PATCH 2/5] git-config: add --remote option for reading config from remote repo Date: Fri, 4 May 2007 12:56:40 +0200 Message-ID: <1178276203127-git-send-email-skimo@liacs.nl> References: <11782762032207-git-send-email-skimo@liacs.nl> Cc: Sven Verdoolaege To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri May 04 12:56:59 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HjvT7-0005RI-K5 for gcvg-git@gmane.org; Fri, 04 May 2007 12:56:57 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767853AbXEDK4x (ORCPT ); Fri, 4 May 2007 06:56:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767883AbXEDK4x (ORCPT ); Fri, 4 May 2007 06:56:53 -0400 Received: from rhodium.liacs.nl ([132.229.131.16]:41483 "EHLO rhodium.liacs.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767853AbXEDK4v (ORCPT ); Fri, 4 May 2007 06:56:51 -0400 X-Greylist: delayed 432 seconds by postgrey-1.27 at vger.kernel.org; Fri, 04 May 2007 06:56:50 EDT Received: from pc117b.liacs.nl (pc117b.liacs.nl [132.229.129.143]) by rhodium.liacs.nl (8.13.0/8.13.0/LIACS 1.4) with ESMTP id l44Auh2n026578; Fri, 4 May 2007 12:56:48 +0200 Received: by pc117b.liacs.nl (Postfix, from userid 17122) id 5F56D3C00F; Fri, 4 May 2007 12:56:43 +0200 (CEST) X-Mailer: git-send-email 1.5.0.rc3.1762.g0934 In-Reply-To: <11782762032207-git-send-email-skimo@liacs.nl> Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: From: Sven Verdoolaege Signed-off-by: Sven Verdoolaege --- Documentation/git-config.txt | 33 +++++++++++++++++++++--------- builtin-config.c | 44 ++++++++++++++++++++++++++++++++--------- cache.h | 1 + config.c | 26 ++++++++++++++++++++++++ 4 files changed, 84 insertions(+), 20 deletions(-) diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 280ef20..76398ab 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -9,16 +9,25 @@ git-config - Get and set repository or global options SYNOPSIS -------- [verse] -'git-config' [--system | --global] [type] name [value [value_regex]] -'git-config' [--system | --global] [type] --add name value -'git-config' [--system | --global] [type] --replace-all name [value [value_regex]] -'git-config' [--system | --global] [type] --get name [value_regex] -'git-config' [--system | --global] [type] --get-all name [value_regex] -'git-config' [--system | --global] [type] --unset name [value_regex] -'git-config' [--system | --global] [type] --unset-all name [value_regex] -'git-config' [--system | --global] [type] --rename-section old_name new_name -'git-config' [--system | --global] [type] --remove-section name -'git-config' [--system | --global] -l | --list +'git-config' [--system | --global | --remote=[:]:]:]:]:]:]:]:]:]:]:]:]