News for hackers. Stuff that matters.
Re:Ask HN: How can I create a webserver that runs Git comman... by nnntriplesec on Thursday March 30, 2023 @09:01AM (#35371989)
> [1] https://stackoverflow.com/questions/8185276/find-size-of-git...

I think what OP needs is a way to know the repository size BEFORE cloning it first. In that case I think you need to query the git server's API, hopefully some GitHub or GitLab with nice APIs to give you that information.

Otherwise I'm not sure if it's possible?

Re:Ask HN: How can I create a webserver that runs Git comman... by ggeorgovassilis on Friday March 31, 2023 @02:04AM (#35383229)
True, my recommendation then does not apply to this topic.