Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38779 closed defect (bug) (fixed)

Ensure untracked files are listed by git in core themes

Reported by: westonruter Owned by: westonruter
Priority: normal Milestone: WordPress.org
Component: Build/Test Tools Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Because /src/wp-content/theme is ignored in .gitignore, any new files added to core themes will not be listed when doing git status, and any such files will not be added with doing git add without --force, giving the error message: “The following paths are ignored by one of your .gitignore files”.

Following up on #27207.

Attachments (1)

38779.0.diff​ (619 bytes ) - added by westonruter 10 years ago.

Download all attachments as: .zip

Change History (4)

#1 @westonruter
10 years ago

I tried to commit but I got an SVN pre-commit hook error:

$ svn ci .gitignore
Sending        .gitignore
Transmitting file data .svn: E165001: Commit failed (details follow):
svn: E165001: Failed to start '/home/svn/repos/wp-develop/hooks/pre-commit' hook
svn: E165001: Your commit message was left in a temporary file:
svn: E165001:    '.../vvv/www/wordpress-develop/svn-commit.tmp'

This ticket was mentioned in ​Slack in #core by westonruter. ​View the logs.


10 years ago

#3 @westonruter
10 years ago

  • Owner set to westonruter
  • Resolution → fixed
  • Status new → closed

In 39362:

Git: Prevent untracked files from being ignored by git in bundled themes.

See #27207.
Fixes #38779.

Note: See TracTickets for help on using tickets.