diff --git a/lib/bash/git/README.md b/lib/bash/git/README.md index 22fefe4..d2dffcd 100644 --- a/lib/bash/git/README.md +++ b/lib/bash/git/README.md @@ -39,6 +39,8 @@ log_info "Current branch: $branch" - `git_get_current_branch` uses `git -C` so it does not change the caller's working directory or directory stack. Missing directories and non-Git directories return success with an empty result variable. +- `git_update_repo` changes into the target repository while it runs because + its submodule update sequence depends on repository-relative execution. - `check_script_up_to_date` treats missing git state, untracked scripts, or missing upstreams as skip conditions rather than hard failures. - `check_script_up_to_date