git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* .git inside a .git: is it safe?
@ 2007-03-12 21:56 Guilhem Bonnefille
  2007-03-12 22:15 ` Shawn O. Pearce
  2007-03-12 22:56 ` Jakub Narebski
  0 siblings, 2 replies; 4+ messages in thread
From: Guilhem Bonnefille @ 2007-03-12 21:56 UTC (permalink / raw)
  To: git

Hi,

I'm actually working on the packaging of a project. To do so, I use
two Git repositories:
- one to follow the main project
- one to manage my updates on this project.

But, the matter is I cannot merge the both root. I need to have the
main project sources in a subdirectory of my own project. My workspace
is as follow: myproject/sub/tree/mainproject

With SVN, I think such things are handled with svn:external.

Actually, with Git, I frequently copy the mainproject inside its
subtree in my workspace.


But, I recently discover that everything seems fine if I include the
Git repo of mainproject inside the Git repo of my project. The layout
lloks like this:
myproject
|- .git
|- sub
  |- tree
    |- mainproject
      |- .git


It seems to work. But do you think such layout is "safe" ?

-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-14 15:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 21:56 .git inside a .git: is it safe? Guilhem Bonnefille
2007-03-12 22:15 ` Shawn O. Pearce
2007-03-14 15:02   ` Guilhem Bonnefille
2007-03-12 22:56 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).