Re: [coreboot] make gitconfig not working for me with git 1.9.1
On 25.02.2018 09:23, Mike Banon wrote: > just upgrade your git? 1.9.1 is a little bit old You probably mean, "just" upgrade every git of every system that is used for coreboot development. Ubuntu 14.04 (which is still maintained btw.) might not be the only active distribution with an old git version. > 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 Well, we could discuss to add Git to our crossgcc script if you'd like to maintain that. Nico > > On Sat, Feb 24, 2018 at 3:10 AM, wrote: >> >> Errors I receive on command-line strongly point to this commit: >> >> commit fda071ca7a17614a58c0812c28b14a417471b915 >> Author: Alex Thiessen >> Date: Sat Jan 13 17:05:31 2018 + >> >> 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 [...] -- [...]' >> 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 [...] -- [...]' >> fatal: ambiguous argument 'hooks': unknown revision or path not in the >> working tree. >> Use '--' to separate paths from revisions, like this: >> 'git [...] -- [...]' >> fatal: ambiguous argument 'hooks': unknown revision or path not in the >> working tree. >> Use '--' to separate paths from revisions, like this: >> 'git [...] -- [...]' >> mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$ >> >> -- >> coreboot mailing list: coreboot@coreboot.org >> https://mail.coreboot.org/mailman/listinfo/coreboot > -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] make gitconfig not working for me with git 1.9.1
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, wrote: > > Errors I receive on command-line strongly point to this commit: > > commit fda071ca7a17614a58c0812c28b14a417471b915 > Author: Alex Thiessen > Date: Sat Jan 13 17:05:31 2018 + > > 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 [...] -- [...]' > 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 [...] -- [...]' > fatal: ambiguous argument 'hooks': unknown revision or path not in the > working tree. > Use '--' to separate paths from revisions, like this: > 'git [...] -- [...]' > fatal: ambiguous argument 'hooks': unknown revision or path not in the > working tree. > Use '--' to separate paths from revisions, like this: > 'git [...] -- [...]' > mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$ > > -- > coreboot mailing list: coreboot@coreboot.org > https://mail.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] make gitconfig not working for me with git 1.9.1
On 24.02.2018 01:10, mtur...@codeaurora.org wrote: > > Errors I receive on command-line strongly point to this commit: > > commit fda071ca7a17614a58c0812c28b14a417471b915 > Author: Alex Thiessen > Date: Sat Jan 13 17:05:31 2018 + > > 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 -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
[coreboot] make gitconfig not working for me with git 1.9.1
Errors I receive on command-line strongly point to this commit: commit fda071ca7a17614a58c0812c28b14a417471b915 Author: Alex Thiessen Date: Sat Jan 13 17:05:31 2018 + 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 [...] -- [...]' 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 [...] -- [...]' fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'hooks': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' mturney@mturney-linux:/local/mnt/workspace/mturney/gitrepos/public/coreboot$ -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot