Dist::Zilla::Plugin::Git::CheckFor::Fixups(3)

NAME
Dist::Zilla::Plugin::Git::CheckFor::Fixups - Check your repo for fixup! and squash! before release

VERSION
This document describes version 0.015 of Dist::Zilla::Plugin::Git::CheckFor::Fixups - released August 08, 2026 as part of Dist-Zilla-PluginBundle-Git-CheckFor.

SYNOPSIS
    ; in dist.ini -- note we depend on Git::NextVersion for versioning info
    [Git::NextVersion]
    [Git::CheckFor::Fixups]

DESCRIPTION
This is a simple Dist::Zilla plugin to check that since the last release, you have no fixup or squash commits remaining in your history. The presence of these commits is almost certainly an oversight, so if any are found the release is aborted.

Note that we do not check for the presence of such commits in the history of older releases; having a fixup commit in the history is embarrassing, but not so much so as rebasing to resolve a blemish in the deep, dark, sordid past of the project.

WHAT'S A FIXUP OR SQUASH COMMIT?
A squash or fixup commit is one with a commit message formatted in such a manner that "git rebase --autosquash" will recognize it; namely:

A fixup commit has a commit message beginning with 'fixup! '

A squash commit has a commit message beginning with 'squash! '

SEE ALSO
Please see those modules/websites for more information related to this module.

•   Dist::Zilla::PluginBundle::Git::CheckFor

•   Dist::Zilla

•   Dist::Zilla::Plugin::Git::NextVersion

BUGS
Please report any bugs or feature requests on the bugtracker website <https://github.com/rsrchboy/dist-zilla-pluginbundle-git-checkfor/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR
Chris Weyl <cweyl@alumni.drew.edu>

COPYRIGHT AND LICENSE
This software is Copyright (c) 2026 by Chris Weyl.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999