We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b1981d + d8b24b9 commit 2819854Copy full SHA for 2819854
1 file changed
perl/Git.pm
@@ -1203,8 +1203,7 @@ either version 2, or (at your option) any later version.
1203
# the method was called upon an instance and (undef, @args) if
1204
# it was called directly.
1205
sub _maybe_self {
1206
- # This breaks inheritance. Oh well.
1207
- ref $_[0] eq 'Git' ? @_ : (undef, @_);
+ UNIVERSAL::isa($_[0], 'Git') ? @_ : (undef, @_);
1208
}
1209
1210
# Check if the command id is something reasonable.
0 commit comments