# git-p4 is not cloning perforce code properly

2 messages from 2015-02-10 to 2015-02-10. Participants: Sandeep, Luke Diamand.
Thread: https://gitlist.dev/t/38544

## Sandeep, 2015-02-10 13:54

Subject: git-p4 is not cloning perforce code properly
Message-ID: <1423576488362-7625215.post@n2.nabble.com>
URL: https://gitlist.dev/e/1423576488362-7625215.post%40n2.nabble.com

```
Dear All,

I am trying to clone perforce branch from git to my local drive, but it's
skipping too many files and change list while fetching it from perforce.

it'll be very helpful if anyone can suggest me about how to git rid with
this issue.

Thanks in Advance,
Sandeep



--
View this message in context: http://git.661346.n2.nabble.com/git-p4-is-not-cloning-perforce-code-properly-tp7625215.html
Sent from the git mailing list archive at Nabble.com.

```

## Luke Diamand, 2015-02-10 15:27

Subject: Re: git-p4 is not cloning perforce code properly
Message-ID: <CAE5ih78VwwSFcXxXopbmKFoi_HP_9RU_KQFr_h5GRyfeq8b73w@mail.gmail.com>
URL: https://gitlist.dev/e/CAE5ih78VwwSFcXxXopbmKFoi_HP_9RU_KQFr_h5GRyfeq8b73w%40mail.gmail.com
In-Reply-To: <1423576488362-7625215.post@n2.nabble.com>

```
When you say "skipping", can you be more specific please? What command
line are you using?

If I want to clone the P4 tree at the current revision, I do something like:

$ git p4 clone //depot/sometree/...

That gets me just a single revision.

If I want all revisions back to the start of time, I do:

$ git p4 clone //depot/sometree/...@all

Thanks,
Luke


On 10 February 2015 at 13:54, Sandeep <varshneysan@gmail.com> wrote:
> Dear All,
>
> I am trying to clone perforce branch from git to my local drive, but it's
> skipping too many files and change list while fetching it from perforce.
>
> it'll be very helpful if anyone can suggest me about how to git rid with
> this issue.
>
> Thanks in Advance,
> Sandeep
>
>
>
> --
> View this message in context: http://git.661346.n2.nabble.com/git-p4-is-not-cloning-perforce-code-properly-tp7625215.html
> Sent from the git mailing list archive at Nabble.com.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

```
