Fix table generating in diff display
gitile/pages.scm
205 | 205 | (let ((content '()) (file-header #f) (file-content #f) (first-hunk #t)) | |
206 | 206 | (diff-foreach diff | |
207 | 207 | (lambda (delta progress) | |
208 | - | (pk 'file delta progress) | |
209 | 208 | (when file-header | |
210 | - | (set! content (append content (cons file-header `((table (@ (class "file-diff")) ,(reverse file-content))))))) | |
209 | + | (set! content (append content (cons file-header `((table (@ (class "file-diff")) ,@(reverse file-content))))))) | |
211 | 210 | (set! first-hunk #t) | |
212 | 211 | (set! file-content '()) | |
213 | 212 | (cond | |
… | |||
252 | 251 | (pre ,line "\n")))))) | |
253 | 252 | (loop lines (+ old-line 1) (+ new-line 1)))))) | |
254 | 253 | 0)) | |
255 | - | (append content (cons file-header file-content)))) | |
254 | + | (append content (cons file-header `((table (@ (class "file-diff")) ,@(reverse file-content))))))) |