def main():

    global config, stream, observer, git_sync, notifier

    config = parse_config()

    stream = Stream(callback, config['local_path'], file_events=True)
    observer.schedule(stream)

    (git_sync, notifier) = gitsynclib.GitSync.setup_git_sync(config)

    git_sync.run_initial_sync()
    observer.start()

    try:
        while 1:
            pause()
    except __HOLE__:
        stop()

    return 0
dataset/ETHPy150Open jachin/GitSync/src/gitsync/GitSync.py/main