{"thread":{"id":"28695","subject":"[PATCH] gitweb: add extensions to highlight feature map","startedAt":"2011-10-16T16:59:49Z","lastAt":"2011-10-16T23:18:07Z","messageCount":2,"participants":["Lénaïc Huard","Philip Oakley"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"177794","messageId":"201110161859.49817.lenaic@lhuard.fr.eu.org","threadId":"28695","inReplyTo":null,"subject":"[PATCH] gitweb: add extensions to highlight feature map","fromName":"Lénaïc Huard","fromEmail":"lenaic@lhuard.fr.eu.org","sentAt":"2011-10-16T16:59:49Z","receivedAt":"2011-10-16T16:59:49Z","isPatch":true,"sender":{"key":"lenaic@lhuard.fr.eu.org","avatar":null},"body":"added: hpp, m\n\nSigned-off-by: Lénaïc Huard <lenaic@lhuard.fr.eu.org>\n---\n gitweb/gitweb.perl |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex 85d64b2..75e4854 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -262,11 +262,12 @@ our %highlight_ext = (\n        # alternate extensions, see /etc/highlight/filetypes.conf\n        'h' => 'c',\n        map { $_ => 'sh'  } qw(bash zsh ksh),\n-       map { $_ => 'cpp' } qw(cxx c++ cc),\n+       map { $_ => 'cpp' } qw(cxx c++ cc hpp),\n        map { $_ => 'php' } qw(php3 php4 php5 phps),\n        map { $_ => 'pl'  } qw(perl pm), # perhaps also 'cgi'\n        map { $_ => 'make'} qw(mak mk),\n        map { $_ => 'xml' } qw(xhtml html htm),\n+       'm' => 'objc',\n );\n \n # You define site-wide feature defaults here; override them with\n-- \n1.7.7\n"},{"id":"177810","messageId":"C6FB1388B4E54701B6610875A3367BE2@PhilipOakley","threadId":"28695","inReplyTo":"201110161859.49817.lenaic@lhuard.fr.eu.org","subject":"Re: [PATCH] gitweb: add extensions to highlight feature map","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2011-10-16T23:18:07Z","receivedAt":"2011-10-16T23:18:07Z","isPatch":true,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"Lénaïc Huard\" <lenaic@lhuard.fr.eu.org>\nSent: Sunday, October 16, 2011 5:59 PM\n> added: hpp, m\n\n'm' files can be matlab files, and matlab can benefit from git's branch \nmodel. Matlab expectes filenames to be identical to function names(!), so \nbranching function variants makes for easier development. Without git you \ncan't easily refactor.\nPhilip\n\n>\n> Signed-off-by: Lénaïc Huard <lenaic@lhuard.fr.eu.org>\n> ---\n> gitweb/gitweb.perl |    3 ++-\n> 1 files changed, 2 insertions(+), 1 deletions(-)\n>\n> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\n> index 85d64b2..75e4854 100755\n> --- a/gitweb/gitweb.perl\n> +++ b/gitweb/gitweb.perl\n> @@ -262,11 +262,12 @@ our %highlight_ext = (\n>        # alternate extensions, see /etc/highlight/filetypes.conf\n>        'h' => 'c',\n>        map { $_ => 'sh'  } qw(bash zsh ksh),\n> -       map { $_ => 'cpp' } qw(cxx c++ cc),\n> +       map { $_ => 'cpp' } qw(cxx c++ cc hpp),\n>        map { $_ => 'php' } qw(php3 php4 php5 phps),\n>        map { $_ => 'pl'  } qw(perl pm), # perhaps also 'cgi'\n>        map { $_ => 'make'} qw(mak mk),\n>        map { $_ => 'xml' } qw(xhtml html htm),\n> +       'm' => 'objc',\n> );\n>\n> # You define site-wide feature defaults here; override them with\n> -- \n> 1.7.7\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n>\n> -----\n> No virus found in this message.\n> Checked by AVG - www.avg.com\n> Version: 2012.0.1831 / Virus Database: 2090/4554 - Release Date: 10/15/11\n> \n"}]}