end-of-file-fixer fails against a ".git/MERGE_MSG" file
See original GitHub issueI’m running git merge --no-ff release-7.1.2 -m "Merge branch 'release-7.1.2' into master"
and it fails because it’s incorrectly checking files inside the .git
directory:
Fix End of Files.........................................................Failed
hookid: end-of-file-fixer
Fixing .git/MERGE_MSG
pre-commit 1.11.1
git version 2.19.0
macOS 10.14 (18A391)
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
How to solve git merge error "Swap file .MERGE_MSG.swp ...
First of all, check that MERGE_MSG file (not MERGE_MSG.swp), and see if it exists ... The error message says it's ~/Documents/Sites/recipegenerator/.git/.
Read more >Fixing a common problem with a Git Merge - In Plain English
Firstly, let's try to understand why we got this message. There a few options : This happens when a commit was made to...
Read more >pre-commit
Git hook scripts are useful for identifying simple issues before ... The pre-commit config file describes what repositories and hooks are installed.
Read more >Git merge conflicts | Atlassian Git Tutorial
Git will mark the file as being conflicted and halt the merging process. ... A merge failure on start will output the following...
Read more >git-merge Documentation - Git
Prepare the default merge message as if merging to the branch <branch> , instead of the name of the real branch to which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And thank you for the release ❤️
Thanks again for the issue and fix 🎉