aboutsummaryrefslogtreecommitdiff
path: root/checkem
Commit message (Collapse)AuthorAgeFilesLines
* Bump VERSIONTom Ryder2018-06-291-1/+1
|
* Refactor digest alg selectiondevelopTom Ryder2018-06-291-15/+11
|
* Use interpolated error stringTom Ryder2018-06-291-1/+1
|
* Order modules alphabeticallyTom Ryder2018-06-291-1/+1
|
* Use `main` packageTom Ryder2018-06-291-3/+1
|
* Remove Carp dependencyTom Ryder2018-06-291-5/+4
|
* Detect plain file and not symlink correctlyv2.17Tom Ryder2017-09-261-3/+3
| | | | Use S_ISREG() rather than S_IFREF comparison
* Use lstat() not stat()v2.16Tom Ryder2017-09-261-3/+3
| | | | | For systems with symbolic links, this will stat the link itself, not the thing it points to. We ignore symbolic links once we detect them anyway.
* Bump version numberv2.15Tom Ryder2017-09-261-1/+1
|
* Use 'and' rather than '&&' for readabilityTom Ryder2017-09-261-1/+1
|
* Handle and print file errors properlyTom Ryder2017-09-261-11/+20
|
* Remove stray trailing commaTom Ryder2017-09-261-1/+1
|
* Remove superfluous loop labelTom Ryder2017-09-261-2/+2
|
* Use simpler form of assertTom Ryder2017-09-261-3/+1
|
* Move assignment inlinev2.14Tom Ryder2017-08-211-3/+2
|
* Bump version numberv2.13Tom Ryder2017-08-211-1/+1
|
* Use hex digest for key, duplicate into hashrefTom Ryder2017-08-211-1/+2
|
* Correct ridiculous loop short-circuit errorTom Ryder2017-08-211-1/+1
|
* Correct a commentTom Ryder2017-08-201-1/+1
|
* Remove an erroneous commentTom Ryder2017-08-111-2/+1
|
* Skip don't die on unreadable filev2.12Tom Ryder2017-08-111-10/+14
|
* Sort duplicate blocks by filesize ascendingv2.11Tom Ryder2017-08-111-5/+9
|
* Apply sorts to keep output stablev2.10Tom Ryder2017-08-111-4/+5
| | | | | | | | | Because Perl doesn't sort hash keys (and rightly so), the results are the same but the blocks may not be in the same order, not the lines within each block. We may as well sort them to keep the output stable and improve readability and prevent any confusion.
* Close file after digest, not beforeTom Ryder2017-08-101-1/+1
| | | | Seems to work anyway, but this seems cleaner
* Better approach to finding an algorithmTom Ryder2017-08-101-16/+18
|
* Re-clarify module supportTom Ryder2017-08-101-1/+1
|
* Perl::Tidy only just decided to change thisTom Ryder2017-08-101-3/+1
| | | | Not sure why
* Try to gracefully handle absence of Digest::SHATom Ryder2017-08-101-7/+17
|
* Explain support for searching for duped filesTom Ryder2017-08-101-1/+1
| | | | We get this for free from File::Find
* Merge obvious two blocksTom Ryder2017-08-101-4/+3
|
* Perl 5.6 compatible syntaxv2.9Tom Ryder2017-08-101-8/+11
| | | | | Only a few tweaks required and we don't lose any functionality except the lazy-loading of the Digest object, which is probably overkill anyway
* Use generic Digest module frontendv2.8Tom Ryder2017-08-101-14/+19
| | | | Slightly older in core, enables using MD5 if need be
* Use correct format for version stringTom Ryder2017-08-091-1/+1
|
* Remove a layer of indirectionv2.7Tom Ryder2017-08-091-17/+17
| | | | | Make things a little quicker by putting the name and stat values into the same hash
* Add janky test suitev2.6Tom Ryder2017-08-091-1/+1
|
* Categorise missing arg as usage errorTom Ryder2017-08-091-1/+5
| | | | | Rather than a croak exception. Also exit with "2", like shell utils often do when misused rather than broken.
* Slightly better package namev2.5Tom Ryder2017-08-091-2/+2
|
* Remove some unneeded parensTom Ryder2017-08-091-1/+1
|
* Use `not` rather than !Tom Ryder2017-08-091-2/+2
| | | | Take advantage of its very low precedence
* Add some more commentsTom Ryder2017-08-041-0/+8
|
* Remove unneeded loop labelsTom Ryder2017-08-041-3/+3
|
* Load up only required stat() fieldsv2.4Tom Ryder2017-08-041-7/+9
|
* Return push result from wanted subTom Ryder2017-08-041-2/+1
|
* Inline digest assignmentv2.3Tom Ryder2017-08-041-3/+2
|
* Allow choosing another SHA algTom Ryder2017-08-041-2/+8
|
* Remove unneeded parensTom Ryder2017-08-041-1/+1
|
* Swap strict/warningsTom Ryder2017-08-041-1/+1
|
* Better preamble and package nameTom Ryder2017-08-041-2/+7
|
* Junk File::statv2.2Tom Ryder2017-08-041-8/+16
| | | | | Seems to be a hotspot for speed and it's too easily worked around to keep
* Use slightly clearer bitwise opsTom Ryder2017-08-031-1/+1
|