Using Git with shared (symbolic link) directories

Posted by chmike on Stack Overflow See other posts from Stack Overflow or by chmike
Published on 2010-03-30T12:20:36Z Indexed on 2010/03/30 12:23 UTC
Read the original article Hit count: 500

Filed under:
|

I'm working on a big Qt application with multiple widgets which are quite complex. One of this widget is a webcam stream viewer.

The application is organized so that each program module (i.e. widgets) is stored in its own directory with a .pri file. All these are stored in one main directory grouping all the widget directories.

Next to this main project directory I also have application directories. Let say one for each widget. In these directory I have a symbolic link (alias on windows) to the module directory in the main project folder. This application has then the necessary code to build a standalone application showing only the widget. So for instance I have a webcam viewer application, another to control some devices, etc.

This source code organization works well and allows me to develop and test the widgets in independent applications while sharing the code with the main application.

Currently only the main project directory is under version control using subversion.

Now I would like to start using git and would like to know if this shared directory model would work with it or if there is a better way to do it.

© Stack Overflow or respective owner

Related posts about git

Related posts about version-control