diff options
| -rw-r--r-- | gentoobrowse-api/service/utils/git.cpp | 7 | 
1 files changed, 0 insertions, 7 deletions
| diff --git a/gentoobrowse-api/service/utils/git.cpp b/gentoobrowse-api/service/utils/git.cpp index 7e1ce71..40241f7 100644 --- a/gentoobrowse-api/service/utils/git.cpp +++ b/gentoobrowse-api/service/utils/git.cpp @@ -25,12 +25,6 @@ namespace Gentoo {  				git_libgit2_shutdown();  			} -			int show(const git_transfer_progress * p, void *) -			{ -				fprintf(stderr, "%u / %u\n", p->total_objects, p->received_objects); -				return 0; -			} -  			AdHocFormatter(RefSpec, "refs/heads/%?:refs/remotes/%?/%?");  			std::unique_ptr<git_annotated_commit, void (*)(git_annotated_commit*)>  			gitFetch(git_repository * repo, git_remote * remote, const char * remoteBranchName) @@ -38,7 +32,6 @@ namespace Gentoo {  				git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;  				opts.prune = GIT_FETCH_PRUNE;  				opts.update_fetchhead = 1; -				opts.callbacks.transfer_progress = show;  				auto localBranch = gitSafeGet(git_repository_head, git_reference_free, repo);  				auto localBranchName = gitSafeGet(git_branch_name, localBranch.get());  				// auto remoteBranch = gitSafeGet(git_branch_upstream, git_reference_free, localBranch.get()); | 
