Git Mailing List Archive mirror
 help / color / mirror / Atom feed
blob 2e1bd738c299184a9ae4735cf159b3d89c453661 1059 bytes (raw)
name: progress.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
#ifndef PROGRESS_H
#define PROGRESS_H
#include "gettext.h"

struct progress;
struct repository;

#ifdef GIT_TEST_PROGRESS_ONLY

extern int progress_testing;
extern uint64_t progress_test_ns;
void progress_test_force_update(void);

#endif

void display_throughput(struct progress *progress, uint64_t total);
void display_progress(struct progress *progress, uint64_t n);
void progress_set_total(struct progress *progress, uint64_t total);
struct progress *start_progress(struct repository *r,
				const char *title, uint64_t total);
struct progress *start_sparse_progress(struct repository *r,
				       const char *title, uint64_t total);
struct progress *start_delayed_progress(struct repository *r,
					const char *title, uint64_t total);
struct progress *start_delayed_sparse_progress(struct repository *r,
					       const char *title,
					       uint64_t total);
void stop_progress_msg(struct progress **p_progress, const char *msg);
static inline void stop_progress(struct progress **p_progress)
{
	stop_progress_msg(p_progress, _("done"));
}
#endif

debug log:

solving 2e1bd738c2 ...
found 2e1bd738c2 in https://80x24.org/lore/git/20250219-toon-bundleuri-progress-v2-1-a84e7ffa921a@iotcl.com/
found ed068c7bab in https://80x24.org/lore/pub/scm/linux/kernel/git/mst/git.git/
preparing index
index prepared:
100644 ed068c7bab845b17f55d4ed8f0907497ad23fd47	progress.h

applying [1/1] https://80x24.org/lore/git/20250219-toon-bundleuri-progress-v2-1-a84e7ffa921a@iotcl.com/
diff --git a/progress.h b/progress.h
index ed068c7bab..2e1bd738c2 100644

Checking patch progress.h...
Applied patch progress.h cleanly.

index at:
100644 2e1bd738c299184a9ae4735cf159b3d89c453661	progress.h

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).