From mboxrd@z Thu Jan 1 00:00:00 1970 From: skimo@liacs.nl Subject: [PATCH 02/15] git-config: add --remote option for reading config from remote repo Date: Sun, 20 May 2007 20:04:35 +0200 Message-ID: <11796842881646-git-send-email-skimo@liacs.nl> References: <11796842882917-git-send-email-skimo@liacs.nl> To: git@vger.kernel.org, Junio C Hamano X-From: git-owner@vger.kernel.org Sun May 20 20:05:47 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 1HppmK-0007La-7I for gcvg-git@gmane.org; Sun, 20 May 2007 20:05:41 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756528AbXETSE6 (ORCPT ); Sun, 20 May 2007 14:04:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756868AbXETSE6 (ORCPT ); Sun, 20 May 2007 14:04:58 -0400 Received: from rhodium.liacs.nl ([132.229.131.16]:37195 "EHLO rhodium.liacs.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756528AbXETSE5 (ORCPT ); Sun, 20 May 2007 14:04:57 -0400 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 l4KI4m9A007799; Sun, 20 May 2007 20:04:53 +0200 Received: by pc117b.liacs.nl (Postfix, from userid 17122) id BA0677DDA1; Sun, 20 May 2007 20:04:48 +0200 (CEST) X-Mailer: git-send-email 1.5.0.rc3.1762.g0934 In-Reply-To: <11796842882917-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=[:]:]:]:]:]:]:]:]:]:]:]:]