# git-p4: Importing multiple p4 prods into same git repo

1 messages from 2008-11-04 to 2008-11-04. Participants: dhruva.
Thread: https://gitlist.dev/t/16165

## dhruva, 2008-11-04 08:42

Subject: git-p4: Importing multiple p4 prods into same git repo
Message-ID: <e3f230850811040042m5f07994btf70680c4fdac13cf@mail.gmail.com>
URL: https://gitlist.dev/e/e3f230850811040042m5f07994btf70680c4fdac13cf%40mail.gmail.com

```
Hi,
 I have the p4 layout as follows:
1. //depot/prod/devel/main
2. //depot/prod/devel/hacks

where #2 is a sort of fork of #1. There are lot of common objects
between them and #2 can trace its history to #1. I would like to
import both the above paths under the same git repository as 2 remote
branches so that they can share objects and reduce overall size. Is
this possible using 'git-p4'. I went through the code and got lost in
the complexities...
 I urgently need this to consolidate multiple paths under the same git
folder and be able to serve them soon. Any help is greatly
appreciated.

-dhruva

-- 
Contents reflect my personal views only!

```
