gitweb: Correct typo: '==' instead of 'eq' in git_difftree_body
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jakub Narebski committed
Sep 4, 2006 at 18:19 UTC
72dbafa1e6696b6acec59c22aa7e3d956cf9992f
1 file changed
+4
-4
gitweb/gitweb.perl
+4
-4
@@ -1592,7 +1592,7 @@ sub git_difftree_body {
1592
$cgi->a({-href => href(action=>"blob", hash=>$diff{'to_id'},
1593
hash_base=>$hash, file_name=>$diff{'file'})},
1594
"blob");
1595
- if ($action == "commitdiff") {
1595
+ if ($action eq 'commitdiff') {
1596
# link to patch
1597
$patchno++;
1598
print " | " .
@@ -1613,7 +1613,7 @@ sub git_difftree_body {
1613
hash_base=>$parent, file_name=>$diff{'file'})},
1614
"blob") .
1615
" | ";
1616
- if ($action == "commitdiff") {
1616
+ if ($action eq 'commitdiff') {
1617
# link to patch
1618
$patchno++;
1619
print " | " .
@@ -1659,7 +1659,7 @@ sub git_difftree_body {
1659
hash_base=>$hash, file_name=>$diff{'file'})},
1660
"blob");
1661
if ($diff{'to_id'} ne $diff{'from_id'}) { # modified
1662
- if ($action == "commitdiff") {
1662
+ if ($action eq 'commitdiff') {
1663
# link to patch
1664
$patchno++;
1665
print " | " .
@@ -1701,7 +1701,7 @@ sub git_difftree_body {
1701
hash=>$diff{'to_id'}, file_name=>$diff{'to_file'})},
1702
"blob");
1703
if ($diff{'to_id'} ne $diff{'from_id'}) {
1704
- if ($action == "commitdiff") {
1704
+ if ($action eq 'commitdiff') {
1705
# link to patch
1706
$patchno++;
1707
print " | " .