Thread (40 messages) flat view 40 messages, 7 authors, 2021-08-04

Re: [PATCH v3 5/5] Makefile: normalize clobbering & xargs for tags targets

From: Jeff King <hidden>
Date: 2021-07-23 10:47:57

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:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help