diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-04-19 10:50:19 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-04-19 10:50:19 -0400 |
commit | 13cd21d9f1b62456f84aa995a9b4e5b203bf657c (patch) | |
tree | 3bc10ebe3da1b2072816d05c51c217b9236756b0 /src/ctx.h | |
parent | 75917eaede6b82492d51f29af9275a3cd12fb608 (diff) | |
download | bfs-13cd21d9f1b62456f84aa995a9b4e5b203bf657c.tar.xz |
Makefile: Quiet errors from git describe
With new git versions, it is an error to invoke git inside a repository
owned by someone else. This manifested as
$ sudo make install
fatal: unsafe repository ('/home/tavianator/code/bfs' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /home/tavianator/code/bfs
Work around it with `2>/dev/null`. This should also help if git is not
installed, but .git/ still exists.
Link: https://github.blog/2022-04-12-git-security-vulnerability-announced/
Diffstat (limited to 'src/ctx.h')
0 files changed, 0 insertions, 0 deletions