Share, Vote, & Discuss Ideas

We're constantly looking for new ways to improve our products and are asking you to help us by sharing your own ideas, voting for ideas you like, and discussing them with the rest of the community.

Make p4ignore syntax match gitignore syntax.

(copied from my forum post here:

I'm pleased to see Perforce honoring gitignore files because we have many cases of generated files living in the same directory as hand-edited files. However, we've been burned by the lack of features in Perforce's parsing of .gitignore (or .p4ignore) files.

The full list of differences that I am aware of:

The biggest problem case for us is like so:

Suppose you have two files "toolbox/foo/bar.h" and "toolbox/foo/private/bar.h". The higher file is generated by stripping private information out of the copy in the "private" folder.

  toolbox/foo/bar.h <- derived
  toolbox/foo/private/bar.h <- hand-edited

In git, we can add "toolbox/foo/.gitignore" containing:

    # generated from private/bar.h

In Perforce, we need to add two files:

    # generated from private/bar.h


    # not generated

This gets really annoying when trying to ignore a file with a common name near the top of your working tree. For example, if you have a generated "Makefile" at the top of your tree and the rest of your Makefile's are hand-edited.

Ben Martin



  • Guest
  • Aug 17 2015
  • Attach files
  • Jan Schormann commented
    December 04, 2015 08:43

    In this article:

    Sven says that this is implemented in 2015.2. Can you confirm that?

  • funny jokes commented
    December 11, 2018 10:35

     I enjoyed over read your blog post. Your blog have nice information I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again..


  • adv ydv commented
    10 Feb 05:24

    I will share this information with each edge to use the Microsoft edge Web Browser and will remember passwords edge for further logging. If you forget the sign in the username or password  then it is no longer necessary to be disappointed. This tutorial is also free and very useful.

  • kelly Leona commented
    27 Feb 11:28

    I've generally buckled down, completed a lopsided measure of work, set aside the opportunity to help others with their work and composed improvement guides for the group AoneAssignment-OnlineAssignmentHelp. I get almost no acknowledgment and appreciation for this. Be that as it may, when a male specialist sets aside a touch of opportunity to support somebody, they get a ton of praise.

  • mohit sona commented
    22 Mar 13:38

    This is so fun! What a great idea. Also I love how authentic you seem to be. Your style and passion for blogging is contagious. Thank you for sharing your life!

    best free sports streaming sites