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

Re: on subtree checkout

From
David Symonds <dsymonds@gmail.com>
Date
Feb 26, 2008, 02:30 UTC
Message-ID
<ee77f5c20802251830p47c6de60je97a31cb34bc3105@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0802260156350.3322@eeepc-johanness>

On Mon, Feb 25, 2008 at 5:59 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 14 quoted lines
> Hi,
>
>
>  On Sun, 24 Feb 2008, Nguyen Thai Ngoc Duy wrote:
>
>  > I'm going to implement subtree checkout. The plan is to save "index
>  > prefix" in GIT_DIR/prefix and update git commands to use index prefix
>  > when accessing the index. If I'm heading a wrong way, stop me now.
>
>  As I wrote a long time ago already, I think the correct approach would be
>  to reuse the code for the core.ignoreStat feature.
>
>  But I agree with others that you should think about sane implementations
>  of rebase/merge with partial checkouts.

I, too, was shortly going to attempt a partial checkout/clone implementation. The intended context of my implementation was similar to the KDE scenario in that you might only care about /pkgA and /pkgB, so changes to /pkgC are usually irrelevant and independent to your work-flow, so I was planning to assume a simplistic "theirs" merge strategy for /pkgC, etc.

Dave.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 12 of 13 in “on subtree checkout”
  1. Nguyen Thai Ngoc DuyFeb 24, 2008
  2. Robin RosenbergFeb 24, 2008
  3. Jakub NarebskiFeb 24, 2008
  4. Robin RosenbergFeb 24, 2008
  5. Jakub NarebskiFeb 24, 2008
  6. Jakub NarebskiFeb 24, 2008
  7. Nguyen Thai Ngoc DuyFeb 24, 2008
  8. Jakub NarebskiFeb 24, 2008
  9. Matthieu MoyFeb 24, 2008
  10. Robin RosenbergFeb 24, 2008
  11. Johannes SchindelinFeb 26, 2008
  12. David SymondsFeb 26, 2008
  13. Johannes SchindelinFeb 26, 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.