]> git.ipfire.org Git - thirdparty/git.git/commit - list-objects-filter.c
list-objects-filter: use BUG rather than die
authorMatthew DeVore <matvore@google.com>
Fri, 5 Oct 2018 21:31:25 +0000 (14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Oct 2018 23:55:00 +0000 (08:55 +0900)
commit696aa73905c8c11b06735f9db830e55bc369849a
tree612a1b45a888ad8508348b68ecd3aaaac20e4a33
parent99c9aa9579ae970c0d273ced8fb8efe9eed70a75
list-objects-filter: use BUG rather than die

In some cases in this file, BUG makes more sense than die. In such
cases, a we get there from a coding error rather than a user error.

'return' has been removed following some instances of BUG since BUG does
not return.

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