From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] scripts: hash: Add --exclude-.git option. Date: Mon, 5 Sep 2016 16:50:24 -0400 Message-ID: <20160905205024.GE3392@jasmine> References: <87zinmybwv.fsf@gnu.org> <57CD38D2.6050807@goebel-consult.de> <87vayay3w4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh0ql-00062L-NX for guix-devel@gnu.org; Mon, 05 Sep 2016 16:50:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh0qh-0006nw-JU for guix-devel@gnu.org; Mon, 05 Sep 2016 16:50:38 -0400 Content-Disposition: inline In-Reply-To: <87vayay3w4.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jan Nieuwenhuizen Cc: guix-devel , Hartmut Goebel On Mon, Sep 05, 2016 at 01:36:43PM +0200, Jan Nieuwenhuizen wrote: > Vincent Legoll writes: > > >> Added an -g/--exclude-.git option for guix hash. It is very specific: > >> it skips toplevel .git directory. WDYT? > > > > I'd rather name it "--exclude-git" or something less strange than > > --exclude-.git, > > even --exclude-dot-git... > > >> What about make i the default? > > > > OK with defaulting > > Drop the option altogether, or make it --include-git? One way or another, we should have a way to `guix hash -r` .git directories if we really want to.