jish / pre-commit

A slightly improved pre-commit hook for git
https://jish.github.io/pre-commit/
Other
796 stars 96 forks source link

simple bug fix #281

Closed Asangi-a4ac closed 2 years ago

Asangi-a4ac commented 3 years ago

In the current (before this fix) version, if some migration versions are common with schema versions, all of the migration versions are shown, instead of just missing versions. This problem is resolved by modifying only one line, so I did it. If you want to stick to show all the migration versions including ones that were already written in the schema file, please ignore this pull request. In that case, please consider I wanted only missing versions to be displayed.

jish commented 2 years ago

Thank you for your contribution :)