diffcore-pickaxe: make error messages more consistent
authorRamkumar Ramachandra <redacted>
Fri, 31 May 2013 12:12:14 +0000 (17:42 +0530)
committerJunio C Hamano <redacted>
Mon, 3 Jun 2013 17:50:22 +0000 (10:50 -0700)
commit276b22d333d4207928f6cfe3ab7c1898cd509b88
treec12d0ce55ba84e39f6c52de8722cc132c608d38f
parentedca4152560522a431a51fc0a06147fc680b5b18
diffcore-pickaxe: make error messages more consistent

Currently, diffcore-pickaxe reports two distinct errors for the same
user error:

    $ git log --pickaxe-regex -S'\1'
    fatal: invalid pickaxe regex: Invalid back reference

    $ git log -G'\1'
    fatal: invalid log-grep regex: Invalid back reference

This "log-grep" was only an internal name for the -G feature during
development, and invite confusion with "git log --grep=<pattern>".

Change the error messages to say "invalid regex".

Signed-off-by: Ramkumar Ramachandra <redacted>
Signed-off-by: Junio C Hamano <redacted>
diffcore-pickaxe.c
git clone https://git.99rst.org/PROJECT