diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-05-31 17:42:14 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-03 10:50:22 -0700 |
commit | 276b22d333d4207928f6cfe3ab7c1898cd509b88 (patch) | |
tree | c12d0ce55ba84e39f6c52de8722cc132c608d38f /builtin/commit.c | |
parent | Git 1.8.3 (diff) | |
download | tgif-276b22d333d4207928f6cfe3ab7c1898cd509b88.tar.xz |
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 <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions