git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Shawn O. PearceNext: Heiko Voigt
Message 5 of 7 in “Partial tree export and merging”
  1. Heiko VoigtSep 24, 2008
  2. Shawn O. PearceSep 24, 2008
  3. Heiko VoigtSep 24, 2008
  4. Shawn O. PearceSep 24, 2008
  5. Nguyen Thai Ngoc DuySep 24, 2008
  6. Heiko VoigtSep 25, 2008
  7. Nguyen Thai Ngoc DuySep 25, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.