From patchwork Sat Oct 20 12:38:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Duy Nguyen X-Patchwork-Id: 10650429 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6B20C90 for ; Sat, 20 Oct 2018 12:39:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5575A2861D for ; Sat, 20 Oct 2018 12:39:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49F1428620; Sat, 20 Oct 2018 12:39:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE31C2861D for ; Sat, 20 Oct 2018 12:39:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727537AbeJTUth (ORCPT ); Sat, 20 Oct 2018 16:49:37 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:35517 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727512AbeJTUtg (ORCPT ); Sat, 20 Oct 2018 16:49:36 -0400 Received: by mail-lf1-f67.google.com with SMTP id d7-v6so6542058lfi.2 for ; Sat, 20 Oct 2018 05:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eYcpCekynwGlnlENHCbdzJJKziBsNILv8kiuOHJXZtQ=; b=Q35T1Hkabbh9NiTpjBYQajxfVAUVwpXaDCB1NTQtCqyTRy/0s1geAg1bqrHSy/Ztvr wmrHHhDvLMolBUltw3FNIW5lzV9+wlsb6UnC9IiaUP21MYm1EDZ1b386ZJWANU7n0NNM KxXkZqf5geKPvNX8GwyDt+t4YtHFbmy/Vi/LSqlqwMEXYF7GbJVRQg4vi6Z/jQx8w5EX 3etK8NH13G/Gx+JVkE5opcH4v/RwVJdUjHVRGJXi2I6wix7myhcUC7YBPPRLlqKZ78Ie X7SIVr7D3SGIjTvdT9CnwPoahikoh2ak1C6DsxAkefRFWBn/74gCGVMrPXkjLcuvZKse 66ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eYcpCekynwGlnlENHCbdzJJKziBsNILv8kiuOHJXZtQ=; b=ngINUwuyLQCQIKj9tsnRp8Zv2nWIu0+mEXTZruF4KpyPHAXjoZ29ZjF52mPDIKISSS elSDWErpiXSJa0bXlJ+r/LL7HAr4wYDijX7v8mD/P6l9higDdRhlyQUWRECMz47JwNmd sM7Zni5C0xv3xPGiSGPTsBUeykm8qJ4DGTbQh4hTIvuLJb4aDqO13OgZl3Pg03jU/2Sh INPw4rEkxweECy+OELrE0SSYiFWDkOo4/2gi/FPiVhsr7q64o71GF6iPuUMpOKt1hH22 5ql9+E+oDDNSVtLiQbv+JE9/8RZuMFqJlzRVjl5OUMVzs8oMzmY7PnmgXYC3YnVpum3E ug2w== X-Gm-Message-State: ABuFfohXXszduas6Snpd8SCvV7Cg4Fhr2T1dGaeDL4h0AD4by/PABKG0 0eHEbYcDBAHYZDtVOHmNlPCfuxoJ X-Google-Smtp-Source: ACcGV63niHpM3QV5nMrqnCnbMuHV6iizFan36VInHYn971ou1wchIKCgQUDUHWKGVOumeaKEkhSZqw== X-Received: by 2002:a19:111b:: with SMTP id g27mr5682869lfi.135.1540039154346; Sat, 20 Oct 2018 05:39:14 -0700 (PDT) Received: from localhost.localdomain (c80-216-12-205.bredband.comhem.se. [80.216.12.205]) by smtp.gmail.com with ESMTPSA id o22-v6sm5759379ljc.79.2018.10.20.05.39.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Oct 2018 05:39:13 -0700 (PDT) From: =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmfhu41jIER1eQ==?= To: git@vger.kernel.org Cc: Junio C Hamano , =?utf-8?b?Tmd1eeG7hW4gVGjDoWkgTmc=?= =?utf-8?b?4buNYyBEdXk=?= Subject: [PATCH 15/59] config.txt: move credential.* to a separate file Date: Sat, 20 Oct 2018 14:38:04 +0200 Message-Id: <20181020123848.2785-16-pclouds@gmail.com> X-Mailer: git-send-email 2.19.1.647.g708186aaf9 In-Reply-To: <20181020123848.2785-1-pclouds@gmail.com> References: <20181020123848.2785-1-pclouds@gmail.com> MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 27 +-------------------------- Documentation/credential-config.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 Documentation/credential-config.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index 59cae6a895..36a8d120be 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -315,32 +315,7 @@ include::column-config.txt[] include::commit-config.txt[] -credential.helper:: - Specify an external helper to be called when a username or - password credential is needed; the helper may consult external - storage to avoid prompting the user for the credentials. Note - that multiple helpers may be defined. See linkgit:gitcredentials[7] - for details. - -credential.useHttpPath:: - When acquiring credentials, consider the "path" component of an http - or https URL to be important. Defaults to false. See - linkgit:gitcredentials[7] for more information. - -credential.username:: - If no username is set for a network authentication, use this username - by default. See credential..* below, and - linkgit:gitcredentials[7]. - -credential..*:: - Any of the credential.* options above can be applied selectively to - some credentials. For example "credential.https://example.com.username" - would set the default username only for https connections to - example.com. See linkgit:gitcredentials[7] for details on how URLs are - matched. - -credentialCache.ignoreSIGHUP:: - Tell git-credential-cache--daemon to ignore SIGHUP, instead of quitting. +include::credential-config.txt[] completion.commands:: This is only used by git-completion.bash to add or remove diff --git a/Documentation/credential-config.txt b/Documentation/credential-config.txt new file mode 100644 index 0000000000..60fb3189e1 --- /dev/null +++ b/Documentation/credential-config.txt @@ -0,0 +1,26 @@ +credential.helper:: + Specify an external helper to be called when a username or + password credential is needed; the helper may consult external + storage to avoid prompting the user for the credentials. Note + that multiple helpers may be defined. See linkgit:gitcredentials[7] + for details. + +credential.useHttpPath:: + When acquiring credentials, consider the "path" component of an http + or https URL to be important. Defaults to false. See + linkgit:gitcredentials[7] for more information. + +credential.username:: + If no username is set for a network authentication, use this username + by default. See credential..* below, and + linkgit:gitcredentials[7]. + +credential..*:: + Any of the credential.* options above can be applied selectively to + some credentials. For example "credential.https://example.com.username" + would set the default username only for https connections to + example.com. See linkgit:gitcredentials[7] for details on how URLs are + matched. + +credentialCache.ignoreSIGHUP:: + Tell git-credential-cache--daemon to ignore SIGHUP, instead of quitting.