Skip to content

Commit

Permalink
gitweb: Correct typo: '==' instead of 'eq' in git_difftree_body
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Sep 4, 2006
1 parent 0b5deba commit 72dbafa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ sub git_difftree_body {
$cgi->a({-href => href(action=>"blob", hash=>$diff{'to_id'},
hash_base=>$hash, file_name=>$diff{'file'})},
"blob");
if ($action == "commitdiff") {
if ($action eq 'commitdiff') {
# link to patch
$patchno++;
print " | " .
Expand All @@ -1613,7 +1613,7 @@ sub git_difftree_body {
hash_base=>$parent, file_name=>$diff{'file'})},
"blob") .
" | ";
if ($action == "commitdiff") {
if ($action eq 'commitdiff') {
# link to patch
$patchno++;
print " | " .
Expand Down Expand Up @@ -1659,7 +1659,7 @@ sub git_difftree_body {
hash_base=>$hash, file_name=>$diff{'file'})},
"blob");
if ($diff{'to_id'} ne $diff{'from_id'}) { # modified
if ($action == "commitdiff") {
if ($action eq 'commitdiff') {
# link to patch
$patchno++;
print " | " .
Expand Down Expand Up @@ -1701,7 +1701,7 @@ sub git_difftree_body {
hash=>$diff{'to_id'}, file_name=>$diff{'to_file'})},
"blob");
if ($diff{'to_id'} ne $diff{'from_id'}) {
if ($action == "commitdiff") {
if ($action eq 'commitdiff') {
# link to patch
$patchno++;
print " | " .
Expand Down

0 comments on commit 72dbafa

Please sign in to comment.