From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM, RP_MATCHES_RCVD shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id E941E202DD for ; Wed, 25 Oct 2017 14:05:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751994AbdJYOFA (ORCPT ); Wed, 25 Oct 2017 10:05:00 -0400 Received: from smtprelay01.ispgateway.de ([80.67.18.13]:58853 "EHLO smtprelay01.ispgateway.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752049AbdJYOEU (ORCPT ); Wed, 25 Oct 2017 10:04:20 -0400 Received: from [84.46.92.130] (helo=book.hvoigt.net) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1e7MI4-00048s-9u; Wed, 25 Oct 2017 16:04:16 +0200 Date: Wed, 25 Oct 2017 16:04:14 +0200 From: Heiko Voigt To: Junio C Hamano Cc: Johannes Schindelin , Stefan Beller , git@vger.kernel.org Subject: Re: [PATCH] status: do not get confused by submodules in excluded directories Message-ID: <20171025140414.GA1368@book.hvoigt.net> References: <244d71f47336e985ae265573b7d523cd8b3943bd.1508244305.git.johannes.schindelin@gmx.de> <20171024121536.GA88363@book.hvoigt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.0 (2017-09-02) X-Df-Sender: aHZvaWd0QGh2b2lndC5uZXQ= Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, Oct 25, 2017 at 10:28:25AM +0900, Junio C Hamano wrote: > Heiko Voigt writes: > > > On Tue, Oct 24, 2017 at 02:18:49PM +0900, Junio C Hamano wrote: > >> Johannes Schindelin writes: > >> > >> > We meticulously pass the `exclude` flag to the `treat_directory()` > >> > function so that we can indicate that files in it are excluded rather > >> > than untracked when recursing. > >> > > >> > But we did not yet treat submodules the same way. > >> > >> ... "because of that, we ended up showing < >> what situation>>" would be a nice thing to have here, so that it can > >> be copied to the release notes for the bugfix. > > > > Yes I agree that would be nice here. It was not immediately obvious that > > this only applies when using both flags: -u and --ignored. > > Does any of you care to fill in the <> then? ;-) How about: Because of that, we ended up showing the submodule as untracked and its content as ignored files when using the --ignored and -u flags with git status. ? But maybe Dscho also has some more information to add about his situation? Cheers Heiko