2025-01-24 15:53:06 +00:00
=== No permission to access .git. Badness: inferred flag is set to true even though we did not infer branch. bundle_root_path is not correct in subdir case.
>>> chmod 000 .git
2025-02-03 14:10:19 +00:00
>>> [CLI] bundle validate
2025-01-24 15:53:06 +00:00
Error: unable to load repository specific gitconfig: open config: permission denied
Name: git-permerror
Target: default
Workspace:
2025-02-03 14:10:19 +00:00
User: [USERNAME]
Path: /Workspace/Users/[USERNAME]/.bundle/git-permerror/default
2025-01-24 15:53:06 +00:00
Found 1 error
Exit code: 1
2025-02-03 14:10:19 +00:00
>>> [CLI] bundle validate -o json
2025-01-24 15:53:06 +00:00
Error: unable to load repository specific gitconfig: open config: permission denied
Exit code: 1
{
2025-01-29 14:15:52 +00:00
"bundle_root_path": "."
2025-01-24 15:53:06 +00:00
}
2025-02-03 14:10:19 +00:00
>>> withdir subdir/a/b [CLI] bundle validate -o json
2025-01-24 15:53:06 +00:00
Error: unable to load repository specific gitconfig: open config: permission denied
Exit code: 1
{
2025-01-29 14:15:52 +00:00
"bundle_root_path": "."
2025-01-24 15:53:06 +00:00
}
=== No permissions to read .git/HEAD. Badness: warning is not shown. inferred is incorrectly set to true. bundle_root_path is not correct in subdir case.
>>> chmod 000 .git/HEAD
2025-02-03 14:10:19 +00:00
>>> [CLI] bundle validate -o json
2025-01-24 15:53:06 +00:00
{
2025-01-29 14:15:52 +00:00
"bundle_root_path": "."
2025-01-24 15:53:06 +00:00
}
2025-02-03 14:10:19 +00:00
>>> withdir subdir/a/b [CLI] bundle validate -o json
2025-01-24 15:53:06 +00:00
{
2025-01-29 14:15:52 +00:00
"bundle_root_path": "."
2025-01-24 15:53:06 +00:00
}
=== No permissions to read .git/config. Badness: inferred is incorretly set to true. bundle_root_path is not correct is subdir case.
>>> chmod 000 .git/config
2025-02-03 14:10:19 +00:00
>>> [CLI] bundle validate -o json
2025-01-24 15:53:06 +00:00
Error: unable to load repository specific gitconfig: open config: permission denied
Exit code: 1
{
2025-01-29 14:15:52 +00:00
"bundle_root_path": "."
2025-01-24 15:53:06 +00:00
}
2025-02-03 14:10:19 +00:00
>>> withdir subdir/a/b [CLI] bundle validate -o json
2025-01-24 15:53:06 +00:00
Error: unable to load repository specific gitconfig: open config: permission denied
Exit code: 1
{
2025-01-29 14:15:52 +00:00
"bundle_root_path": "."
2025-01-24 15:53:06 +00:00
}