git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to deal with mixed tree?
@ 2011-11-22 11:21 Pascal Obry
  2011-11-22 11:35 ` Holger Hellmuth
  0 siblings, 1 reply; 8+ messages in thread
From: Pascal Obry @ 2011-11-22 11:21 UTC (permalink / raw)
  To: Git Mailing List

A project P1 is under Git.

A project P2 is under Subversion.

P2 in fact replace a sub-directory (say SD) in P1. The project P2 is a
replacement (extension) of the code in P1.

How to deal with this?

If you clone P1, remove SD in P1 to replace it by P2:

   $ git diff

   -> will display all the changes in SD, is there a way to avoid that?

   $ git merge (between branches) will try to merge changes in SD

I'd like to really tell Git to ignore SD as if it was not there. Any solution?

Thanks,
Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

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

end of thread, other threads:[~2011-11-22 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-22 11:21 How to deal with mixed tree? Pascal Obry
2011-11-22 11:35 ` Holger Hellmuth
2011-11-22 14:20   ` Pascal Obry
2011-11-22 15:08     ` Holger Hellmuth
2011-11-22 15:21       ` Pascal Obry
2011-11-22 16:14         ` Holger Hellmuth
2011-11-22 17:29           ` Pascal Obry
2011-11-22 18:29   ` Junio C Hamano

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).