With visual studio the problem is when I switch branches, the solution
file and project files checked out for 2005 are different from 2008
version. And the compiled obj files are different. So I am forced to
rebuild the entire project. That's big pain in the neck.

On Apr 21, 3:46 pm, Alan Hawrylyshen <a...@polyphase.ca> wrote:
> On Apr 21, 2010, at 10:43, anand wrote:
>
> > I am using git for a fairly large win32 project. And I often switch
> > between 3 branches. Each branch represents different versions of the
> > same product that I work. One of them uses visual studio 2005 to build
> > while the other 2 use VS2008. The problem is, when I switch between
> > branches I have to rebuild the entire project every time. This becomes
> > a real pain when I have to switch between the branches many times a
> > day. To resolve the problem, I did a local clone of the repo but each
> > clone consumes nearly 2-3GB of space. Is there an efficient way that
> > uses less space (i.e reduce the need for clones) and reduces the need
> > to rebuild every time I switch between branches.
>
> This sounds more like a problem with your build system.
> Can you put build artifacts in a release-dependent sub-directory?
> That might fix is all with a single repository and would be an approach I 
> would consider.
>
> Alan
>
> --
> Alan Hawrylyshen
> a l a n a t p o l y p h a s e d o t c a
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To post to this group, send email to git-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/git-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to