Skip to content

Allow .log directories in Git and Perforce workspaces - #123

Open
Dragon31337 wants to merge 1 commit into
NVIDIA-RTX:mainfrom
Dragon31337:fix/p4ignore-log-directories
Open

Allow .log directories in Git and Perforce workspaces#123
Dragon31337 wants to merge 1 commit into
NVIDIA-RTX:mainfrom
Dragon31337:fix/p4ignore-log-directories

Conversation

@Dragon31337

@Dragon31337 Dragon31337 commented Sep 9, 2026

Copy link
Copy Markdown

Summary

  • Add a directory-only exception to Streamline's existing .gitignore and a root .p4ignore.
  • Allow source/core/sl.log/ to be added when a parent project ignores *.log.
  • Keep ordinary .log files ignored.

Validation

  • Verified that a parent *.log rule ignores source/core/sl.log/ without the exception.
  • Verified that !*.log/ re-includes the directory and its contents for Git.
  • Verified with p4 ignores -i -v that the nested .p4ignore overrides the parent rule for sl.log/, while an ordinary example.log remains ignored.

Fixes #121

@Dragon31337
Dragon31337 force-pushed the fix/p4ignore-log-directories branch from 14c7587 to 96cd433 Compare September 9, 2026 22:37
@Dragon31337 Dragon31337 changed the title Allow .log directories in Perforce workspaces Allow .log directories in Git and Perforce workspaces Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sl.log folder makes it hard to integrate, as many developer has *.log in the exclude filter for git/p4.

1 participant