<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package main

import (
	"fmt"
	"os"
	"sync"
)

func syncRepo(repo *Repo, destination string, wg *sync.WaitGroup) {
	defer wg.Done()

	// Clone the repo, checkout the branches
	g := NewGitRepo(repo.Path, destination)
	err := g.Clone()
	if err != nil {
		panic(err)
	}<commit_msg>better output on git clone<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package main

import (
	"fmt"
	"os"
	"sync"
)

func syncRepo(repo *Repo, destination string, wg *sync.WaitGroup) {
	defer wg.Done()

	fmt.Println("  " + repo.Name)
	// Clone the repo, checkout the branches
	g := NewGitRepo(repo.Path, destination)
	err := g.Clone()
	if err != nil {
		fmt.Println("Could not sync repo" + repo.Name)
		panic(err)
	}
{'fraction_non_alphanumeric': 0.12648945921173235, 'fraction_numerical': 0.007332722273143905, 'mean_word_length': 3.4210526315789473, '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': '7398564', 'n_tokens_mistral': 394, 'n_tokens_neox': 382, 'n_words': 141}