<commit_before>brew() {
  "$HOMEBREW_BREW_FILE" "$@"
}

git() {
  [[ -n "$HOMEBREW_GIT" ]] || odie "HOMEBREW_GIT is unset!"
  "$HOMEBREW_GIT" "$@"
}

which_git() {
  local git_path
  local active_developer_dir

  if [[ -n "$HOMEBREW_GIT" ]]
  then
    git_path="$HOMEBREW_GIT"
  elif [[ -n "$GIT" ]]
  then
    git_path="$GIT"
  else
    git_path="git"
  fi

  git_path="$(which "$git_path" 2>/dev/null)"

  if [[ -n "$git_path" ]]
  then
    git_path="$(chdir "${git_path%/*}" && pwd -P)/${git_path##*/}"<commit_msg>update: Use command instead of which<commit_after>brew() {
  "$HOMEBREW_BREW_FILE" "$@"
}

git() {
  [[ -n "$HOMEBREW_GIT" ]] || odie "HOMEBREW_GIT is unset!"
  "$HOMEBREW_GIT" "$@"
}

which_git() {
  local git_path
  local active_developer_dir

  if [[ -n "$HOMEBREW_GIT" ]]
  then
    git_path="$HOMEBREW_GIT"
  elif [[ -n "$GIT" ]]
  then
    git_path="$GIT"
  else
    git_path="git"
  fi

  git_path="$(command -v "$git_path" 2>/dev/null)"

  if [[ -n "$git_path" ]]
  then
    git_path="$(chdir "${git_path%/*}" && pwd -P)/${git_path##*/}"
{'fraction_non_alphanumeric': 0.21468926553672316, 'fraction_numerical': 0.0018832391713747645, 'mean_word_length': 3.5042372881355934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4866934', 'n_tokens_mistral': 495, 'n_tokens_neox': 468, 'n_words': 83}