Skip to content

Ignore files in .git and .gitignore #42

@hpfr

Description

@hpfr

When I occasionally manually commit with Magit while git-auto-commit-mode is enabled, submitting the commit saves .git/COMMIT_EDITMSG, which seems to trigger git-auto-commit-mode's prompt for a message (since I have gac-ask-for-summary-p enabled). This also happens when modifying ignored files. If I enter a message, I get a warning that the file I tried to commit is ignored.

git-auto-commit-mode should probably ignore .git and ignored files by default, without the user having to set up local variables for every ignored file or subdirectory. Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions