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

Question about svn:externals, submodules...

From
MSMichael Scholl <michael@sch0ll.de>
Date
Sep 17, 2010, 21:19 UTC
Message-ID
<34843501-F376-4CF0-A367-46F3FF089A25@sch0ll.de>
hi there, 
I try to change my svn setting to git and got the most things up running. But one thing I didnt understand how to handle with it, are my svn:external definitions. 
1. I used svn:externals to include other frameworks or libraries in a vendors folder. I got these cases covered with the git submodules, no problem so far.
2. But I used svn:externals to fill up a working copy with checkout specific files. Imagine a web project with public folder, and subfolders for css and js files. Inside these folders there was a "projects" folder with svn:externals for this specific project. All this project specific files are stored in a separate repository with complex structure for storing all the project related files, like:
project1
 - js
 - css
 - img
project2
 - js
 - css
 - img
So, while getting into git I didn't find any solution, that would help me to get my setting working nice with git. Submodules do not work for this case, it would need many different reps to build submodules from, because I cannot fetch any specific file path of some repository.

Any ideas, how to find a solution, for keeping main project AND project related files under version control with git? (I thought of symlinks and git ignore definitions, but perhaps there is a better way)?

Cheers
MS
Message 1 of 1 in “Question about svn:externals, submodules...”
  1. Michael SchollSep 17, 2010

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.