[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git commit message checker won't let me commit a new file.
From: |
Eli Zaretskii |
Subject: |
Re: git commit message checker won't let me commit a new file. |
Date: |
Wed, 19 Jul 2023 14:48:15 +0300 |
> Date: Tue, 18 Jul 2023 20:23:00 +0000
> From: Alan Mackenzie <acm@muc.de>
>
> Hello, Emacs.
>
> I'm trying to commit a fix for bug #64642. This involves adding a new
> test file.
>
> The commit message checker says "File
> test/src/comp-resources/comp-test-funcs-dyn2.el: cannot be read: [No
> such file or directory]
> Commit aborted; please see the file CONTRIBUTE"
>
> It would appear to reject the new file because it doesn't already exist
> in the repository.
That's not what it's supposed to do. It's supposed to detect typos
and errors in file names and their leading directories. So please
make sure you don't have some subtle typing mistake in the commit log
entries that name the files you added/modified.