Status: ThirdParty

Comment #1 on issue 1251 by chipx86: Review Board and git bare repository

Git has no concept of individual remote file checkouts from a repository.  
If you want
to fetch a single revision of a single, file, you first need a full  
checkout (synced
regularly, ideally on push) of the entire repository. And that has to be  

Yes, it's annoying, and we've worked really hard to come up with an  
that used Git's remote protocol to grab one single file, but it's not  
feasible. We've
also talked about automating a clone and keeping it in sync, but decided  
there are
too many interaction problems (we'd need to make it obvious when a repo is  
ready to
use, for example) and doing it behind the admin's back is kinda bad,  
considering how
much space may be needed.

What we are planning to do is to allow the user to supply a URL on a
gitweb/github/etc site that points to the raw file, given a filename and  
This would prevent the need for a local tree. We're hoping to do this for  

So, today, a bare repository won't work, and you will need a full clone  
regularly updated.

Hope that answers your question.

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to