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

Autosquash Improvements #394

Closed
wants to merge 2 commits into from
Closed

Commits on Sep 15, 2024

  1. feat: expand fixup to cover all autosquash

    When the `--autosquash` command is used during a rebase, three prefixes can be
    used:
    
    - `fixup! `
    - `squash! `
    - `amend! `
    
    See [the docs](https://git-scm.com/docs/git-rebase) here.
    
    The `no_fixup` config has been expanded to include all three options (this will
    need some comms to ensure no unexpended behaviour).
    
    Furthermore, an alias has been added under `no_autosquash`.
    
    Longer term, it may be worth considering replacing `no_fixup` with
    `no_autosquash`.
    
    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    74aa5a6 View commit details
    Browse the repository at this point in the history
  2. feat: validate remainder of autosquash message

    When autosquash commits are allowed, the prefix is removed before
    validating the rest of the commit (such as line length, conventional,
    etc.).
    
    Signed-off-by: JP-Ellis <josh@jpellis.me>
    JP-Ellis committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    c76bb89 View commit details
    Browse the repository at this point in the history