From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id DE9131F5AE for ; Fri, 23 Jul 2021 10:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231688AbhGWKHS (ORCPT ); Fri, 23 Jul 2021 06:07:18 -0400 Received: from cloud.peff.net ([104.130.231.41]:55704 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231519AbhGWKHR (ORCPT ); Fri, 23 Jul 2021 06:07:17 -0400 Received: (qmail 11260 invoked by uid 109); 23 Jul 2021 10:47:51 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Fri, 23 Jul 2021 10:47:51 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 24274 invoked by uid 111); 23 Jul 2021 10:47:53 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Fri, 23 Jul 2021 06:47:53 -0400 Authentication-Results: peff.net; auth=none Date: Fri, 23 Jul 2021 06:47:50 -0400 From: Jeff King To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Cc: git@vger.kernel.org, Junio C Hamano , Denton Liu , Felipe Contreras , Kristof Provost , Taylor Blau , Ramsay Jones Subject: Re: [PATCH v3 5/5] Makefile: normalize clobbering & xargs for tags targets Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, Jul 23, 2021 at 06:43:13AM -0400, Jeff King wrote: > On Thu, Jul 22, 2021 at 01:23:06AM +0200, Ævar Arnfjörð Bjarmason wrote: > > > This is because the xargs command may decide to invoke the program > > multiple times. We need to make sure we've got a union of its results > > at the end. > > > > For "ctags" and "etags" we used the "-a" flag for this, for cscope > > that behavior is the default. Its "-u" flag disables its equivalent of > > an implicit "-a" flag. > > Hrm, that's not the experience I get with cscope. E.g.: Just to make it extra clear: this is not a problem introduced by your series, since we were already using xargs with cscope. But this seems like a good time to fix it. -Peff