Re: [PATCH v2] gitweb: use highlight's shebang detection

2016-09-23 Thread Ian Kelling
On Thu, Sep 22, 2016, at 03:50 PM, Jakub Narębski wrote: > W dniu 22.09.2016 o 00:18, Ian Kelling napisał: > > > The highlight binary can detect language by shebang when we can't tell > > the syntax type by the name of the file. In that case, pass the blob > > to "highlight --force" and the

Re: [PATCH v2] gitweb: use highlight's shebang detection

2016-09-22 Thread Jakub Narębski
W dniu 22.09.2016 o 00:18, Ian Kelling napisał: > The highlight binary can detect language by shebang when we can't tell > the syntax type by the name of the file. In that case, pass the blob > to "highlight --force" and the resulting html will have markup for > highlighting if the language was