You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
If you run git redate inside directory owned by another user, git will exit with error and printing message like this:
fatal: unsafe repository ('/path/to/project/folder' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /path/to/project/folder
Description:
If you run
git redateinside directory owned by another user, git will exit with error and printing message like this:- that's new behavior of git, more info:
https://github.blog/2022-04-12-git-security-vulnerability-announced/
https://stackoverflow.com/questions/71849415/i-cannot-add-the-parent-directory-to-safe-directory-in-git
Proposal:
Improve
is_git_repofunction to handle this type of errorgit-redate/git-redate
Lines 3 to 10 in 843b964