From mboxrd@z Thu Jan 1 00:00:00 1970 From: skimo@liacs.nl Subject: [PATCH 02/16] git-config: add --remote option for reading config from remote repo Date: Fri, 18 May 2007 21:24:51 +0200 Message-ID: <11795163064160-git-send-email-skimo@liacs.nl> References: <11795163053812-git-send-email-skimo@liacs.nl> To: git@vger.kernel.org, Junio C Hamano X-From: git-owner@vger.kernel.org Fri May 18 21:25:34 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 1Hp850-0002MY-7D for gcvg-git@gmane.org; Fri, 18 May 2007 21:25:34 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755902AbXERTZX (ORCPT ); Fri, 18 May 2007 15:25:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757716AbXERTZW (ORCPT ); Fri, 18 May 2007 15:25:22 -0400 Received: from rhodium.liacs.nl ([132.229.131.16]:55740 "EHLO rhodium.liacs.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755902AbXERTZS (ORCPT ); Fri, 18 May 2007 15:25:18 -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 l4IJP6EP005185; Fri, 18 May 2007 21:25:11 +0200 Received: by pc117b.liacs.nl (Postfix, from userid 17122) id 3B80D7DDA1; Fri, 18 May 2007 21:25:06 +0200 (CEST) X-Mailer: git-send-email 1.5.0.rc3.1762.g0934 In-Reply-To: <11795163053812-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=[:]:]:]:]:]:]:]:]:]:]:]:]