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

2017-01-10 Thread Junio C Hamano
Stefan Beller writes: > This comes as a single patch again, replacing sb/pathspec-errors. > It goes directly on top of bw/pathspec-cleanup. > > v8: > cleaned white spaces in commit message > removed TEST_CREATE_SUBMODULE=yes > : > instead of touch. > > v7: >

[PATCHv8] 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")