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
Is it possible to use GitBSLR to follow symlinks in bare repos? I have no .git folder and if I point GITBSLR_GIT_DIR at the same location as I use for --git-dir in my git command, I get the "git directory path must end with .git" error. Is this an inherent limitation of GitBSLR?
The text was updated successfully, but these errors were encountered:
It's a security restriction. GitBSLR doesn't want to create symlinks to any .git, not just the current one; it could get messy if anything follows them and writes something weird to a submodule's .git/hooks/.
That's the only reason that restriction exists. If you're only operating on trusted repositories (i.e. ones that don't contain symlinks to somewhere unexpected), it's safe to delete that check (line 422). (You may also want to remove the one at line 899.)
Is it possible to use GitBSLR to follow symlinks in bare repos? I have no .git folder and if I point GITBSLR_GIT_DIR at the same location as I use for --git-dir in my git command, I get the "git directory path must end with .git" error. Is this an inherent limitation of GitBSLR?
The text was updated successfully, but these errors were encountered: