summaryrefslogtreecommitdiff
path: root/Documentation/git-branch.txt
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2007-11-01 16:59:57 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-01 15:22:32 -0700
commit81f6654a47075a345ba63a394921f77fc87b6500 (patch)
treee63903ba690304dfca70966e1530a8a125ed0896 /Documentation/git-branch.txt
parentmake sure throughput display gets updated even if progress doesn't move (diff)
downloadtgif-81f6654a47075a345ba63a394921f77fc87b6500.tar.xz
Show total transferred as part of throughput progress
Right now it is infeasible to offer to the user a reasonable concept of when a clone will be complete as we aren't able to come up with the final pack size until after we have actually transferred the entire thing to the client. However in many cases users can work with a rough rule-of-thumb; for example it is somewhat well known that git.git is about 16 MiB today and that linux-2.6.git is over 120 MiB. We now show the total amount of data we have transferred over the network as part of the throughput meter, organizing it in "human friendly" terms like `ls -h` would do. Users can glance at this, see that the total transferred size is about 3 MiB, see the throughput of X KiB/sec, and determine a reasonable figure of about when the clone will be complete, assuming they know the rough size of the source repository or are able to obtain it. This is also a helpful indicator that there is progress being made even if we stall on a very large object. The thoughput meter may remain relatively constant and the percentage complete and object count won't be changing, but the total transferred will be increasing as additional data is received for this object. [from an initial proposal from Shawn O. Pearce] Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-branch.txt')
0 files changed, 0 insertions, 0 deletions