Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Correct typo: '==' instead of 'eq' in git_difftree_body
author
Jakub Narebski
<jnareb@gmail.com>
Mon, 4 Sep 2006 16:19:58 +0000
(18:19 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 4 Sep 2006 22:46:32 +0000
(15:46 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
0b5deba
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 313e84295249b25c77c0c8cf93e334e27b2d80ff..6acbb5ef557139046653690870aad8a570690206 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-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");
$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 " | " .
# link to patch
$patchno++;
print " | " .
@@
-1613,7
+1613,7
@@
sub git_difftree_body {
hash_base=>$parent, file_name=>$diff{'file'})},
"blob") .
" | ";
hash_base=>$parent, file_name=>$diff{'file'})},
"blob") .
" | ";
- if ($action
== "commitdiff"
) {
+ if ($action
eq 'commitdiff'
) {
# link to patch
$patchno++;
print " | " .
# link to patch
$patchno++;
print " | " .
@@
-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
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 " | " .
# link to patch
$patchno++;
print " | " .
@@
-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'}) {
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 " | " .
# link to patch
$patchno++;
print " | " .