]> git.ipfire.org Git - thirdparty/git.git/commit
list-objects-filter-options: error is localizeable
authorMatthew DeVore <matvore@google.com>
Fri, 31 May 2019 18:01:56 +0000 (11:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 May 2019 18:30:10 +0000 (11:30 -0700)
commit5c03bc8b1d1f992ebe43c567bb95cdb5e0273d28
tree99ff41cf2fdbd4777e53f29e43713a54ac18cfb7
parent8b10a206f090e01ce1ac4d9a10ec769e2409e2b0
list-objects-filter-options: error is localizeable

The "invalid filter-spec" message is user-facing and not a BUG, so make
it localizeable.

For reference, the message appears in this context:

$ git rev-list --filter=blob:nonse --objects HEAD
fatal: invalid filter-spec 'blob:nonse'

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
list-objects-filter-options.c