From patchwork Thu Mar 7 08:25:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denton Liu X-Patchwork-Id: 10842371 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 54AA21869 for ; Thu, 7 Mar 2019 08:25:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43E1F2E63C for ; Thu, 7 Mar 2019 08:25:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 386632E658; Thu, 7 Mar 2019 08:25:37 +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 CB9742E63C for ; Thu, 7 Mar 2019 08:25:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726250AbfCGIZf (ORCPT ); Thu, 7 Mar 2019 03:25:35 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:44235 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbfCGIZd (ORCPT ); Thu, 7 Mar 2019 03:25:33 -0500 Received: by mail-pf1-f196.google.com with SMTP id a3so10861964pff.11 for ; Thu, 07 Mar 2019 00:25:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fmkuL2LNVi5f5+n2ISyjcBHbIX6McxLIHWePpT2KzS4=; b=oCi+1hcf3b+SLwPkD/SWqRC5d43WxTm9B3ymAOtZMJC7qdSJnbG/LH1ZlWvnI+jRei aeFIUDGurkchOE4H+8j0CSQKsYAzduClsEqYcO+qwIeVRoRQUa28uXHB0oB35St4SPDr TpXOLBh3+Bq592nSrhilhDbBDp7auB7l5mTMp+/eCk8zMmmlxetn68ClmMdBwhyirGxX KIj7RLjO2zvKyT2BxyAS9FkELLhCOyFziO7TjJigSt3iCfWFxFzcyDLj8zfvCyfU6fsz SkdTrpSn3rG9PE/gGUOL2tys7lBhmuYA7CLMdzZrN4d3D5SrHPzUVnFLJ/tQg5W0ESgn qsoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fmkuL2LNVi5f5+n2ISyjcBHbIX6McxLIHWePpT2KzS4=; b=slA3rZMMQq7E1XjKPend2QCfIXzwvD59HT5KzkXeNOPNxt8rQZixKKEerYYJttqc2B sKyLpT0mVch0GtxGGIcG0Ion0BMpty4c8bWwK6d3wWczYOuK918B2d6OuamZAsYHkYcg zN8+kzw53T081rhderStkRmf32cjrXz6yHcYe8hjixOnyjaTAvjjUnlKwyPV35fTTSy2 pvyKrEYdiT9YhYVb7Y01F8HZRAof2weAOH6aVQxrO1fR/RGudcfR0bgzo4GYaTyIaOsv ZCGf109FdeTOlHWaLTZjxbnY8db/lhr7QVCtKMId1nEjcbhlw3e8w1iw94RWqDf63nuF i4ZA== X-Gm-Message-State: APjAAAVWPEDkU8GvoIir+zbZnrZ/ZmOqDjoRSGV2E/2b6j6g9xHU2Nx4 J3DB7ACGFqR/9SKBE6N28U+QFayK X-Google-Smtp-Source: APXvYqyumm8Fm9gIIeuEoV04L8WmTge1m4liCNWskauPTkNdH1COpgpMc2FtlvxV4XqmUxtV/dxKAg== X-Received: by 2002:a17:902:7082:: with SMTP id z2mr11310571plk.251.1551947132989; Thu, 07 Mar 2019 00:25:32 -0800 (PST) Received: from archbookpro.localdomain (c-73-222-73-77.hsd1.ca.comcast.net. [73.222.73.77]) by smtp.gmail.com with ESMTPSA id h65sm5326252pgc.93.2019.03.07.00.25.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 00:25:32 -0800 (PST) Date: Thu, 7 Mar 2019 00:25:30 -0800 From: Denton Liu To: Git Mailing List Cc: Martin =?iso-8859-1?q?=C5gren?= , Junio C Hamano Subject: [PATCH v3 2/2] Docs: move core.excludesFile from git-add to gitignore Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There was a section on configuration mentioning core.excludesFile in git-add.txt. However, the core.excludesFile config variable is not exclusive to git-add. Move this description to gitignore.txt to be more generic. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano --- Documentation/git-add.txt | 9 --------- Documentation/gitignore.txt | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index 37bcab94d5..8b0e4c7fa8 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -193,15 +193,6 @@ for "git add --no-all ...", i.e. ignored removed files. for command-line options). -CONFIGURATION -------------- - -The optional configuration variable `core.excludesFile` indicates a path to a -file containing patterns of file names to exclude from git-add, similar to -$GIT_DIR/info/exclude. Patterns in the exclude file are used in addition to -those in info/exclude. See linkgit:gitignore[5]. - - EXAMPLES -------- diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt index 1c94f08ff4..b5bc9dbff0 100644 --- a/Documentation/gitignore.txt +++ b/Documentation/gitignore.txt @@ -132,6 +132,14 @@ full pathname may have special meaning: - Other consecutive asterisks are considered regular asterisks and will match according to the previous rules. +CONFIGURATION +------------- + +The optional configuration variable `core.excludesFile` indicates a path to a +file containing patterns of file names to exclude, similar to +`$GIT_DIR/info/exclude`. Patterns in the exclude file are used in addition to +those in `$GIT_DIR/info/exclude`. + NOTES -----