-   Linux - Server (
-   -   Local GIT Web Server - No Progress Indicator =/ (

Micah 01-16-2011 08:50 PM

Local GIT Web Server - No Progress Indicator =/
If I clone a GIT Repository from GITHUB via HTTP:// I see something like this:

# git clone http://url ./ttt.git
Initialized empty Git repository in /home/repo/temp/ttt.git/.git/
remote: Counting objects: 62188, done.
remote: Compressing objects: 100% (28798/28798), done.
remote: Total 62188 (delta 51922), reused 41550 (delta 33296)
Receiving objects: 100% (62188/62188), 34.82 MiB | 212 KiB/s, done.
Resolving deltas: 100% (51922/51922), done.

I built my own local GIT Repository Server and when I clone from it I get:

# git clone ./source.git
Initialized empty Git repository in /home/repos/temp/source.git/.git/

This did succeed, but why do I not get the Progress Indicator on my GIT Repository over HTTP and yet GitHub HTTP works with no problems?

Additional Info:
- Dist = Slackware 13.1
- Web Server = apache (with distribution)
- Git Ver = 1.7.1 (with distribution)
- I turned on DAV on the repository and it made no difference

gch1 05-25-2016 01:15 PM

smart vs dumb http protocol
I had the same problem and found the reason: git supports two protocols to clone a repository over HTTP: the dumb protocol with which you get no progress indication, and the smart protocol with which you get progress indication. In order to enable the smart protocol on your server, you may want to use the git-http-backend cgi, as explained on this page:

eklavya 05-31-2016 07:37 AM

Are you sure there are files in your repository?
If it clones an empty repo, it does not show progress bar.

All times are GMT -5. The time now is 09:57 AM.