Errors I receive on command-line strongly point to this commit:
commit fda071ca7a17614a58c0812c28b14a417471b915 Author: Alex Thiessen alex.thiessen.de+coreboot@gmail.com Date: Sat Jan 13 17:05:31 2018 +0000
util/gitconfig: Make gitconfig.sh support gitfile
Ubuntu host, 14.04
mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$ make gitconfig fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' mkdir: unrecognized option '--git-path hooks' Try 'mkdir --help' for more information. util/gitconfig/gitconfig.sh: line 33: --git-path hooks/commit-msg: No such file or directory chmod: unrecognized option '--git-path hooks/commit-msg' Try 'chmod --help' for more information. util/gitconfig/gitconfig.sh: line 33: --git-path hooks/pre-commit: No such file or directory chmod: unrecognized option '--git-path hooks/pre-commit' Try 'chmod --help' for more information. fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$
On 24.02.2018 01:10, mturney@codeaurora.org wrote:
Errors I receive on command-line strongly point to this commit:
commit fda071ca7a17614a58c0812c28b14a417471b915 Author: Alex Thiessen alex.thiessen.de+coreboot@gmail.com Date: Sat Jan 13 17:05:31 2018 +0000
util/gitconfig: Make gitconfig.sh support gitfile
Yes, this is obviously the culprit. The --git-path switch to git-rev-parse wasn't always available.
Alex, Stefan, can you please fix the issue (I already tried to revert, but it was part of a longer train, so not that easy). Generally, before using `git rev-parse --git-path` you have to test if it is supported. In flashrom, I added a check if it just returns `--git-path` (4164c541).
Nico
just upgrade your git? 1.9.1 is a little bit old Although I am unsure if there is anything newer for ubuntu 14.04 since it is very outdated and everyone switched to 16.04 LTS or later. Maybe you would have to compile a new git from source if you don't want / can't reinstall OS
On Sat, Feb 24, 2018 at 3:10 AM, mturney@codeaurora.org wrote:
Errors I receive on command-line strongly point to this commit:
commit fda071ca7a17614a58c0812c28b14a417471b915 Author: Alex Thiessen alex.thiessen.de+coreboot@gmail.com Date: Sat Jan 13 17:05:31 2018 +0000
util/gitconfig: Make gitconfig.sh support gitfile
Ubuntu host, 14.04
mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$ make gitconfig fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' mkdir: unrecognized option '--git-path hooks' Try 'mkdir --help' for more information. util/gitconfig/gitconfig.sh: line 33: --git-path hooks/commit-msg: No such file or directory chmod: unrecognized option '--git-path hooks/commit-msg' Try 'chmod --help' for more information. util/gitconfig/gitconfig.sh: line 33: --git-path hooks/pre-commit: No such file or directory chmod: unrecognized option '--git-path hooks/pre-commit' Try 'chmod --help' for more information. fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$
-- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot