From: Mike Fleetwood <mike.fleetwood@googlemail.com>
To: Qu Wenruo <wqu@suse.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] btrfs-progs: gitignore: Ignore hidden files
Date: Wed, 27 Feb 2019 11:22:09 +0000 [thread overview]
Message-ID: <CAMU1PDi9GD9TC6B8kN4iGbeddOxkPH7B+UxeiVbC_KOwJvxnzQ@mail.gmail.com> (raw)
In-Reply-To: <20190227051602.28987-1-wqu@suse.com>
On Wed, 27 Feb 2019 at 05:16, Qu Wenruo <wqu@suse.com> wrote:
>
> A lot of editor/IDE related config files are hidden files, like .vimrc
> or .clang_complete.
>
> Instead of adding gitignore entry for each editor/IDE, just ignore all
> hidden files like what kernel does.
I think you mean:
files starting with ".", like ls does by default without the -a flag.
Mike
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>
> ---
> .gitignore | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.gitignore b/.gitignore
> index d9f022c48c7d..aadf9ae77d41 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -64,7 +64,7 @@
> /cscope.files
> /cscope.in.out
> /cscope.po.out
> -.clang_complete
> +.*
>
> /Documentation/Makefile
> /Documentation/*.html
> --
> 2.21.0
>
next prev parent reply other threads:[~2019-02-27 11:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-27 5:16 [PATCH] btrfs-progs: gitignore: Ignore hidden files Qu Wenruo
2019-02-27 11:22 ` Mike Fleetwood [this message]
2019-02-27 11:29 ` Qu Wenruo
2019-02-27 11:43 ` Stefan Traby
2019-02-27 13:58 ` Mike Fleetwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMU1PDi9GD9TC6B8kN4iGbeddOxkPH7B+UxeiVbC_KOwJvxnzQ@mail.gmail.com \
--to=mike.fleetwood@googlemail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=wqu@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).