% my $rev = stash('rev'); my $from_rev = stash('from_rev'); %>
% if ($status eq 'A') {
+
% } elsif ($status eq 'D') {
-
% } elsif ($status eq 'M' || $status eq 'T') {
●
% } elsif ($status eq 'R') {
▶
% } elsif ($status eq 'C') {
→
% }
|
% if ($status eq 'A' || $status eq 'M' || $status eq 'D') { "><%= $file %> % } elsif ($status eq 'T') { % } elsif ($status eq 'R' || $status eq 'C') { "><%= $diff_tree->{from_file} %> → <%= $file %> % } % if ($status ne 'A' && $status ne 'D' && $from_mode_str ne $mode_str) { <%= "100$from_mode_str → 100$mode_str" %> % } | %= include '/include/diff_status_bar', diff_tree => $diff_tree, fragment => "diff-$num"; |