aboutsummaryrefslogtreecommitdiff
path: root/ui-shared.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 75b97a1..d9d5da7 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -361,10 +361,7 @@ void cgit_commit_link(char *name, const char *title, const char *class,
delim = "&";
}
html("'>");
- if (name[0] != '\0')
- html_txt(name);
- else
- html_txt("(no commit message)");
+ html_txt(name);
html("</a>");
}