Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi! I cleaned up your code for you! #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Revision history for Perl module Git::PurePerl:
- speed everything up by making the classes immutable
- lazily build packs
- simplify the code by splitting pack index reading into
Git::PurePerl::PackIndex::Version1 and
Git::PurePerl::PackIndex::Version1 and
Git::PurePerl::PackIndex::Version2
- minor tidying of code

Expand All @@ -67,7 +67,7 @@ Revision history for Perl module Git::PurePerl:
- add all_sha1s method

0.34 Fri Nov 21 17:20:17 GMT 2008
- speed up finding objects in pack files by using a
- speed up finding objects in pack files by using a
binary search algorithm

0.33 Thu Nov 20 09:28:36 GMT 2008
Expand Down
2 changes: 1 addition & 1 deletion lib/Git/PurePerl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -481,5 +481,5 @@ Copyright (C) 2008, Leon Brocard.

=head1 LICENSE

This module is free software; you can redistribute it or
This module is free software; you can redistribute it or
modify it under the same terms as Perl itself.
2 changes: 1 addition & 1 deletion lib/Git/PurePerl/PackIndex/Version2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sub get_object_offset {
$last = $mid;
} else {
my $pos
= $self->global_offset
= $self->global_offset
+ $OffsetStart
+ ( $self->size * ( $SHA1Size + $CrcSize ) )
+ ( $mid * $OffsetSize );
Expand Down
2 changes: 1 addition & 1 deletion t/00_setup.t
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ rm -rf test-project-packs
# and likewise but on a recent git for test-project-packs2
tar fvzc test-project-packs2.tgz test-project-packs2

=cut
=cut