<commit_before># Use cached gpg-agent data if it exists, otherwise start a new agent

AGENTOPTS='--enable-ssh-support --disable-scdaemon'

# See if we have pinentry
# Special case for mac
PINENTRY=`which pinentry-mac`
[[ -z "$PINENTRY" ]] && PINENTRY=`which pinentry`
if [ -n "$PINENTRY" ]; then
    AGENTOPTS="${AGENTOPTS} --pinentry-program $PINENTRY"
fi

[ -f ~/.gpg-agent-info ] && source ~/.gpg-agent-info
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then
  export GPG_AGENT_INFO
else
  eval $( gpg-agent --daemon ${AGENTOPTS} --write-env-file ~/.gpg-agent-info )
fi<commit_msg>Updated gpg-agent args<commit_after># Use cached gpg-agent data if it exists, otherwise start a new agent

AGENTOPTS='--enable-ssh-support --disable-scdaemon'

# See if we have pinentry
# Special case for mac
PINENTRY=`which pinentry-mac`
[[ -z "$PINENTRY" ]] && PINENTRY=`which pinentry`
if [ -n "$PINENTRY" ]; then
    AGENTOPTS="${AGENTOPTS} --pinentry-program $PINENTRY"
fi

[ -f ~/.gpg-agent-info ] && source ~/.gpg-agent-info
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then
  export GPG_AGENT_INFO
else
#  eval $( gpg-agent --daemon ${AGENTOPTS} --write-env-file ~/.gpg-agent-info )
  eval $( gpg-agent --daemon ${AGENTOPTS} > ~/.gpg-agent-info )
fi
{'fraction_non_alphanumeric': 0.17459016393442622, 'fraction_numerical': 0.0, 'mean_word_length': 3.864541832669323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5075566', 'n_tokens_mistral': 464, 'n_tokens_neox': 453, 'n_words': 118}