Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Feedback on JGit clone file transfer size

Hi all,

Just a simple question to know if it's possible to have a feedback
about the amout of data transfered (in octet) during a git clone.
In the git client, performing a git clone gives an output that show
the objects reveived size and transfer rate but I didn't found a way
to achieve this with jgit.
Receiving objects: 100% (24930/24930), 4.82 MiB | 1.68 MiB/s, done.

According to what I saw in the jgit source code, it's only possible to
set a ProgressMonitor (even if you use the Transport object instead of
the porcelain API) but this monitor only gives informations about
tasks and jobs done.
Is anybody have a way that I didn't found ?

Thanks, Jerome.


Back to the top