From patchwork Sat Oct 27 06:22:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Duy Nguyen X-Patchwork-Id: 10658105 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 0A4E31751 for ; Sat, 27 Oct 2018 06:24:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBA442BF74 for ; Sat, 27 Oct 2018 06:24:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E07222BF90; Sat, 27 Oct 2018 06:24:20 +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 7BF142BF7B for ; Sat, 27 Oct 2018 06:24:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728400AbeJ0PEM (ORCPT ); Sat, 27 Oct 2018 11:04:12 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:35009 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728378AbeJ0PEM (ORCPT ); Sat, 27 Oct 2018 11:04:12 -0400 Received: by mail-lj1-f195.google.com with SMTP id o14-v6so3123337ljj.2 for ; Fri, 26 Oct 2018 23:24:17 -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=H6drYUH1/GMSP/wuQcru46Wskz6GpcSWiimUIx8GhQo=; b=i1K36HAqZwsJh4Qki0DOHRL5E3AKsHQ6un7PPWfI4/ZDNDRZr6d64Smw3Jw6nH9BJj cc3rNGtP815lj17Oc0neSAKTsl5Cjb25VGedGpbIYn5ieSnmWhtTasJKD+7mfuDqSjtX K0+nkOg9uwRGsoO1I0uP5/bYaeM8dBKnVotJiQ13np8+u4LTYF7rXperVdJ7MXarLIqs 2ArynBc3i2YRAjiWSRy5cppXyLq6gwCqGx1N5cM19DycCz8lA0tE9wIFtvLjf5JEgusD palGITGlPonfRsxPBO61zJHFWE5hsQ9Jco5NPHLGnEoICdBmk9OMAA7InZDe2+cuVuCn DLEg== 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=H6drYUH1/GMSP/wuQcru46Wskz6GpcSWiimUIx8GhQo=; b=jtUI/NKOCgJQsMFs8y57Wxr+o+cS8ZQBas7j5WoKV2XHs4Nv21UqssQDL3We6AMulU 9f7wZXHvD2hezZHbWSILQmVWviUJ9fD4bXAiirT3JMokAX73ZZJ/xYMBlI0l2BMUQC+m cuRqq4S1kezVLIaGW/x8xLR9Pd+6ESkVrR+XSSYGpJfTL5oeXojLnPRtenwzBmJaJ3Ls F3W8478zT/XocmZ1eQCpsWHzGBPMTU5PqeNpE0t/kAC2MYKZZk9S0q74zXY5ylrbuVVi ZYz6WQbrpBV/hDGVylUvFD5KjYui3QlbUDSUYun56k0btRomQjgdN3NDqPkEEi5KTUmo P8pg== X-Gm-Message-State: AGRZ1gJGGY/GRYlTfACoQuHDff9Xg2FF44dFdtHCqib6r7Xl3LQJPX8V q31A7mTcfGvMrw1r1Kw4nH53MzIU X-Google-Smtp-Source: AJdET5dliVesFTcMDhbDx+iWzXQVmXnWAqS9fS41wPzGigPwhOjVTK9umitpa/8g+8tdh0x4nTpzow== X-Received: by 2002:a2e:529d:: with SMTP id n29-v6mr4110445lje.54.1540621456350; Fri, 26 Oct 2018 23:24:16 -0700 (PDT) Received: from localhost.localdomain (c80-216-12-205.bredband.comhem.se. [80.216.12.205]) by smtp.gmail.com with ESMTPSA id c81-v6sm2097487lfe.79.2018.10.26.23.24.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Oct 2018 23:24:15 -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 16/78] config.txt: move credential.* to a separate file Date: Sat, 27 Oct 2018 08:22:49 +0200 Message-Id: <20181027062351.30446-17-pclouds@gmail.com> X-Mailer: git-send-email 2.19.1.647.g708186aaf9 In-Reply-To: <20181027062351.30446-1-pclouds@gmail.com> References: <20181027062351.30446-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/config/credential.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 Documentation/config/credential.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index bbae7e68bd..2c21a5f366 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -315,32 +315,7 @@ include::config/column.txt[] include::config/commit.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::config/credential.txt[] completion.commands:: This is only used by git-completion.bash to add or remove diff --git a/Documentation/config/credential.txt b/Documentation/config/credential.txt new file mode 100644 index 0000000000..60fb3189e1 --- /dev/null +++ b/Documentation/config/credential.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.