From patchwork Wed Feb 27 05:16:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qu Wenruo X-Patchwork-Id: 10831177 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 1742E922 for ; Wed, 27 Feb 2019 05:16:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED7922C782 for ; Wed, 27 Feb 2019 05:16:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD7FE2CD05; Wed, 27 Feb 2019 05:16:30 +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=-7.9 required=2.0 tests=BAYES_00,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 76BB92C782 for ; Wed, 27 Feb 2019 05:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726047AbfB0FQI (ORCPT ); Wed, 27 Feb 2019 00:16:08 -0500 Received: from mx2.suse.de ([195.135.220.15]:56490 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725914AbfB0FQH (ORCPT ); Wed, 27 Feb 2019 00:16:07 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B9AEDAE33 for ; Wed, 27 Feb 2019 05:16:06 +0000 (UTC) From: Qu Wenruo To: linux-btrfs@vger.kernel.org Subject: [PATCH] btrfs-progs: gitignore: Ignore hidden files Date: Wed, 27 Feb 2019 13:16:02 +0800 Message-Id: <20190227051602.28987-1-wqu@suse.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Signed-off-by: Qu Wenruo --- .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