summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui-commit.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/ui-commit.c b/ui-commit.c
index c5ee8e7..b49b2e9 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -46,8 +46,15 @@ void print_filepair(struct diff_filepair *pair)
html("<tr>");
htmlf("<td class='mode'>");
- html_filemode(pair->two->mode);
- if (pair->one->mode != pair->two->mode) {
+ if (is_null_sha1(pair->two->sha1)) {
+ html_filemode(pair->one->mode);
+ } else {
+ html_filemode(pair->two->mode);
+ }
+
+ if (pair->one->mode != pair->two->mode &&
+ !is_null_sha1(pair->one->sha1) &&
+ !is_null_sha1(pair->two->sha1)) {
html("<span class='modechange'>[");
html_filemode(pair->one->mode);
html("]</span>");
class of InstalledSet. And return only these packages, which are installed ... but then all of them. 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1 t?id=1416f458e5cc8bc0440267980a3fbb674d1377f3&follow=1'>Update translationRené 'Necoro' Neumann2-1112/+1120 2009-08-11Update changelogRené 'Necoro' Neumann1-0/+1 2009-08-10Fixed pt_BR translationAlberto Federman Neto1-2/+5 2009-08-10Add credits for translationRené 'Necoro' Neumann2-0/+2