On Tue, Dec 15, 2020 at 3:51 PM Ian Lance Taylor <i...@golang.org> wrote: > > On Tue, Dec 15, 2020 at 3:43 PM Ian Lance Taylor <i...@golang.org> wrote: > > > > I'm trying to commit a change that adds a bunch of new files to > > gcc/testsuite/go.test/test. It's being rejected because the hook > > can't deduce a ChangeLog file. But this directory has no ChangeLog > > files. I've committed other changes to this directory without a > > ChangeLog entry. > > > > What is going wrong? What can I do to commit this change? What > > information can I provide? > > > > Thanks. > > > > Ian > > > > > git push > > Enumerating objects: 854, done. > > Counting objects: 100% (854/854), done. > > Delta compression using up to 8 threads > > Compressing objects: 100% (824/824), done. > > Writing objects: 100% (847/847), 266.10 KiB | 2.25 MiB/s, done. > > Total 847 (delta 167), reused 3 (delta 0), pack-reused 0 > > remote: Resolving deltas: 100% (167/167), completed with 4 local objects. > > remote: *** The following commit was rejected by your > > hooks.commit-extra-checker script (status: 1) > > remote: *** commit: b09ac944e04a59af95a5767f6835edad7da4f152 > > remote: *** ChangeLog format failed: > > remote: *** ERR: could not deduce ChangeLog file > > remote: *** > > remote: *** Please see: > > https://gcc.gnu.org/codingconventions.html#ChangeLogs > > remote: *** > > remote: error: hook declined to update refs/heads/master > > To git+ssh://gcc.gnu.org/git/gcc > > ! [remote rejected] master -> master (hook declined) > > error: failed to push some refs to 'git+ssh://gcc.gnu.org/git/gcc' > > One less common change I am trying to make is to delete a file. Could > that be the cause of this problem? > > I'm going to try removing the deleted file from the change.
Nope, still failed, though the message is slightly different. Ian > git push Enumerating objects: 854, done. Counting objects: 100% (854/854), done. Delta compression using up to 8 threads Compressing objects: 100% (824/824), done. Writing objects: 100% (847/847), 266.29 KiB | 2.36 MiB/s, done. Total 847 (delta 166), reused 3 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (166/166), completed with 4 local objects. remote: *** The following commit was rejected by your hooks.commit-extra-checker script (status: 1) remote: *** commit: 741cd6e22ce6d587d3e8c5aba0f093644785f454 remote: *** ChangeLog format failed: remote: *** ERR: cannot find a ChangeLog location in message remote: *** remote: *** Please see: https://gcc.gnu.org/codingconventions.html#ChangeLogs remote: *** remote: error: hook declined to update refs/heads/master To git+ssh://gcc.gnu.org/git/gcc ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'git+ssh://gcc.gnu.org/git/gcc'