Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker : config value 'safe.directory' was not found #108

Closed
siwon opened this issue Sep 16, 2022 · 1 comment
Closed

Docker : config value 'safe.directory' was not found #108

siwon opened this issue Sep 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@siwon
Copy link

siwon commented Sep 16, 2022

Describe the bug
Hi,
Since git upgrade, the docker image return an error :

ERROR git_cliff > Git error: `config value 'safe.directory' was not found; class=Config (7); code=NotFound (-3)`

My cmmand line is :
docker run -it -v $(pwd)/.git:/app/ orhunp/git-cliff

Expected behavior
Generation of my changelog.

Screenshots/Logs
Full log :

ERROR git_cliff > Git error: `config value 'safe.directory' was not found; class=Config (7); code=NotFound (-3)`

System (please complete the following information):
I use your Docker image.
My code is on a Windows FS mounted on Debian WSL (so file chmod is 777).

Additional context
I try to add this to my git config with no effect :

[safe]
        directory = *

Thanks for your help

@siwon siwon added the bug Something isn't working label Sep 16, 2022
@orhun
Copy link
Owner

orhun commented Sep 20, 2022

Thanks for reporting this! It is directly related to CVE-2022-24765 and should be fixed in 4fc2217 🐻

It is a regression in rust-lang/git2-rs#839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants