Re: [PATCH] Don't push /dev/null as an argument of grep when -c is required.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pierre Habouzit <madcoder@...>
Cc: <git@...>
Date: Tuesday, September 11, 2007 - 6:58 pm

Pierre Habouzit <madcoder@debian.org> writes:


I am afraid this does not work either.

The /dev/null here is to avoid sending a singleton filename to
the external grep when we need to split the argument list, as
output from "grep foo A B" and concatenation of output from
"grep foo A" and "grep foo B" are different.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] Funny output from git grep -c, Martin Langhoff, (Tue Sep 11, 6:14 pm)
Re: [PATCH] Don't push /dev/null as an argument of grep when..., Junio C Hamano, (Tue Sep 11, 6:58 pm)