@matheusbsbs / matheus-bagliano / commits / 35329cc1cc
Fork 0

gitweb: Rename "plain" labels to "raw"

I don't have much preference either way and as far as I'm concerned, it may go the other way as well. Consistency is what is important. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>

Petr Baudis committed Sep 22, 2006 at 03:19 UTC 35329cc1ccd8c720628a72276402d5c3788b48e7
1 file changed +4 -4
gitweb/gitweb.perl
+4 -4
@@ -2690,14 +2690,14 @@ sub git_blob {
2690 " | " .
2691 $cgi->a({-href => href(action=>"blob_plain",
2692 hash=>$hash, file_name=>$file_name)},
2693 - "plain") .
2693 + "raw") .
2694 " | " .
2695 $cgi->a({-href => href(action=>"blob",
2696 hash_base=>"HEAD", file_name=>$file_name)},
2697 "head");
2698 } else {
2699 $formats_nav .=
2700 - $cgi->a({-href => href(action=>"blob_plain", hash=>$hash)}, "plain");
2700 + $cgi->a({-href => href(action=>"blob_plain", hash=>$hash)}, "raw");
2701 }
2702 git_print_page_nav('','', $hash_base,$co{'tree'},$hash_base, $formats_nav);
2703 git_print_header_div('commit', esc_html($co{'title'}), $hash_base);
@@ -3106,7 +3106,7 @@ sub git_blobdiff {
3106 hash=>$hash, hash_parent=>$hash_parent,
3107 hash_base=>$hash_base, hash_parent_base=>$hash_parent_base,
3108 file_name=>$file_name, file_parent=>$file_parent)},
3109 - "plain");
3109 + "raw");
3110 git_header_html(undef, $expires);
3111 if (defined $hash_base && (my %co = parse_commit($hash_base))) {
3112 git_print_page_nav('','', $hash_base,$co{'tree'},$hash_base, $formats_nav);
@@ -3209,7 +3209,7 @@ sub git_commitdiff {
3209 my $formats_nav =
3210 $cgi->a({-href => href(action=>"commitdiff_plain",
3211 hash=>$hash, hash_parent=>$hash_parent)},
3212 - "plain");
3212 + "raw");
3213
3214 git_header_html(undef, $expires);
3215 git_print_page_nav('commitdiff','', $hash,$co{'tree'},$hash, $formats_nav);