Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
LikRendering: fixed bug
Browse files Browse the repository at this point in the history
Problem: Trying to make a link from a SHA pattern string even it was in a SVN project.
Solution: don't make a SHA link from SVN project.
  • Loading branch information
Keesun Baik committed Mar 11, 2015
1 parent 11b12b7 commit d73fc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/AutoLinkRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ private Link toValidSHALink(Project project, String SHA) {
private Link toValidSHALink(String prefix, Project project, String sha) {
if (project != null) {
try {
if (!project.isCodeAvailable()) {
if (!project.isCodeAvailable() || !project.isGit()) {
return Link.EMPTY_LINK;
}

Expand Down

0 comments on commit d73fc5b

Please sign in to comment.