<commit_before>import click
import os
import glob


def locate_git():
    cur_dir = os.path.dirname(os.path.realpath(__file__))
    if glob.glob('.git'):
        while True:
            os.path.join('cur_dir')


@click.command()
@click.option('--show', is_flag=True)
@click.option('--check', is_flag=True)
def git_dep(show, check):
    print(show)
    print(check)
    locate_git()


if __name__ == '__main__':
    git_dep()<commit_msg>Removed infinite loop to search for .git files<commit_after>import click
import os
import glob


def locate_git():
    cur_dir = os.path.dirname(os.path.realpath(__file__))
    if glob.glob('.git'):
        pass

@click.command()
@click.option('--show', is_flag=True)
def git_dep(show):
    print(show)
    locate_git()


if __name__ == '__main__':
    git_dep()
{'fraction_non_alphanumeric': 0.15162907268170425, 'fraction_numerical': 0.0, 'mean_word_length': 3.6184971098265897, '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': '6823249', 'n_tokens_mistral': 286, 'n_tokens_neox': 282, 'n_words': 60}