]> git.ipfire.org Git - thirdparty/git.git/commit - line-log.c
log -L: improve error message on malformed argument
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 20 Apr 2015 12:09:07 +0000 (14:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2015 18:06:10 +0000 (11:06 -0700)
commit0269f968b7effea8a4f61f1fb0ac7e9386a9d90c
treeb16adab6818608f864d94ed20487b5c81a9c86c0
parentd349e0ee60e1bad1cf49245e402ca086ddb5ff80
log -L: improve error message on malformed argument

The old message did not mention the :regex:file form.

To avoid overly long lines, split the message into two lines (in case
item->string is long, it will be the only part truncated in a narrow
terminal).

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
line-log.c
t/t4211-line-log.sh