From: Thomas Rast Date: Mon, 23 Jan 2012 16:08:23 GMT Subject: Re: [PATCH/RFC] Fix the result of "git grep -l -C " Message-ID: <8762g2ieq0.fsf@thomas.inf.ethz.ch> In-Reply-To: <1327334484-35196-1-git-send-email-surfingalbert@gmail.com> Albert Yale writes: > When combining "git grep -l" with "-C ", > the first result is omitted. [...] > For example, if the following command should output a list of 3 > different files (a.txt, b.txt, c.txt): > > $ git grep -l -C 1 albert_yale > b.txt > c.txt Nice catch. Can you add a test? Is -l the only option affected? Why isn't, for example, -L? -- Thomas Rast trast@{inf,student}.ethz.ch