<commit_before><commit_msg>Add a fish function to add a patch<commit_after>function gap --description="git add patch"
  set -l arguments

  set -l cmd "command git diff --name-only"

  if test (count $argv) -gt 0
    set arguments (gish find -c $cmd $argv)

    if test -z $arguments
      set_color red
      echo "No matches found"
      set_color normal
      return 0
    end
  end

  command git add -p $arguments
end
{'fraction_non_alphanumeric': 0.07819905213270142, 'fraction_numerical': 0.004739336492890996, 'mean_word_length': 2.5847457627118646, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7204132', 'n_tokens_mistral': 135, 'n_tokens_neox': 128, 'n_words': 57}