Files
fish-shell/share/functions/__fish_is_git_repository.fish
Johannes Altmanninger a53db72564 Mark private functions that don't need localization
See the next commit.

Part of #11833
2025-09-30 11:47:26 +02:00

5 lines
198 B
Fish

# localization: skip(private)
function __fish_is_git_repository --description 'Check if the current directory is a git repository'
git rev-parse --is-inside-work-tree 2>/dev/null >/dev/null
end