Re: [PATCHv7] pathspec: give better message for submodule related pathspec error

2017-01-09 Thread Stefan Beller
On Mon, Jan 9, 2017 at 2:53 PM, Junio C Hamano wrote: > Is it only me who sees funny black rectangles in front of these four > lines instead of blanks, by the way? I copied this part literally from Jeff. My mail display-client (gmail at the time) did mangle it apparently, (it

Re: [PATCHv7] pathspec: give better message for submodule related pathspec error

2017-01-09 Thread Junio C Hamano
Stefan Beller writes: > Every once in a while someone complains to the mailing list to have > run into this weird assertion[1]. The usual response from the mailing > list is link to old discussions[2], and acknowledging the problem > stating it is known. > > This patch

[PATCHv7] pathspec: give better message for submodule related pathspec error

2017-01-09 Thread Stefan Beller
Every once in a while someone complains to the mailing list to have run into this weird assertion[1]. The usual response from the mailing list is link to old discussions[2], and acknowledging the problem stating it is known. This patch accomplishes two things: 1. Switch assert() to die("BUG")