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

Re: Feedback outside of the user survey

From
CJChristian Jaeger <christian@jaeger.mine.nu>
Date
Oct 20, 2008, 14:43 UTC
Message-ID
<48FC9927.5030903@jaeger.mine.nu>
In-Reply-To
<48FC55F9.3060509@op5.se>
Andreas Ericsson wrote:
Show 9 quoted lines
> Christian Jaeger wrote:
>> If you really wanted, I suppose you could additionally look into 
>> implementing a kind of shallow cloning that only copies objects over 
>> the wire which are necessary for representing the subdirectory you're 
>> interested in.
>>
>
> So what do you do when one such commit also affects something outside
> the subdirectory?
You haven't said what you mean with "affect".

Since the point is that you do not want to see any effect to be made nor described if it is about something outside the subdirectory, the program would just not look at those?

Did you mean, new commits to be made from changed subdirectory contents? The stuff outside the subdirectory would just be kept the same and thus again doesn't need to be present locally.

Did you mean merging branches where one or more of the branches have changes outside the working directory? As long as the changes from the branches don't touch any of the same files (outside the subworkingdirectory), there's no need to fetch the files' contents, the program is only interested in the changes in the directory listings (thus directory objects). Now if there *are* changes to the same files (and outside the subworkingdirectory), the program would certainly need to fetch those contents, too, to be able to create the new contents. Would it require a place in the working directory? Yes if there are conflicts which need to be resolved manually, since it needs a place to put the conflicts to ask the user to resolve. So I guess it boils down to SVN having a different notion of what a merge entails?

Christian.
Previous: Andreas EricssonNext: Andreas Ericsson
Message 10 of 17 in “Feedback outside of the user survey”
  1. Richard HartmannOct 16, 2008
  2. Jeff KingOct 16, 2008
  3. Richard HartmannOct 16, 2008
  4. Garry DolleyOct 16, 2008
  5. Richard HartmannOct 16, 2008
  6. Christian JaegerOct 16, 2008
  7. Garry DolleyOct 18, 2008
  8. Christian JaegerOct 18, 2008
  9. Andreas EricssonOct 20, 2008
  10. Christian JaegerOct 20, 2008
  11. Andreas EricssonOct 20, 2008
  12. Christian JaegerOct 20, 2008
  13. Andreas EricssonOct 20, 2008
  14. Christian JaegerOct 20, 2008
  15. Christian JaegerOct 20, 2008
  16. Junio C HamanoOct 20, 2008
  17. Christian JaegerOct 21, 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.