Re: Partial tree export and merging
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 24, 2008, 17:51 UTC
- Message-ID
- <fcaeb9bf0809241051se24bcf7tb836d1b820e288d6@mail.gmail.com>
- In-Reply-To
- <48DA476F.1070700@mahr.de>
On 9/24/08, Heiko Voigt <heiko.voigt@mahr.de> wrote:
Show 7 quoted lines
> Hallo, > > I am currently facing a challenge for adding limited access to a git > repository for the i18n and documentation (language) team. Our repository > contains *.html and *.loc files which are located along with the code. The > language team should not see the code. At the same time a developer using > the full tree needs to be able to contribute to the i8n files.
That could be done with (under-developing) sparse checkout. Basically language team's people do "git clone --sparse-checkout='*.loc:*.html' your-repo.git". Then they only have *.loc and *.html files in working directory. When they commit, all other files are unchanged. Developers merge to have updated *.log/html as usual.
I have a question though: is language team allowed to checkout/modify files other than *.loc and *.html?
-- Duy