My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1338: Wrong highlight for shell script
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by wenzhang.zhu@gmail.com, Apr 18, 2012
Affected Version: 2.3

What steps will reproduce the problem?
1. Submit a shell script with something like

#!/bin/sh
 ls /home/*
 echo "hello

2. Gerrit will mistakenly think "/*" is for comments and highlight the rest of the text as comments.

What is the expected output? What do you see instead?

Gerrit can auto detect the right syntax for files in the change list.

Please provide any additional information below.

Sign in to add a comment

Powered by Google Project Hosting