Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#38779 closed defect (bug) (fixed)

Ensure untracked files are listed by git in core themes

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

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 8 years ago.

Download all attachments as: .zip

Change History (4)

@westonruter
8 years ago

#1 @westonruter
8 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.


8 years ago

#3 @westonruter
8 years ago

  • Owner set to westonruter
  • Resolution set to fixed
  • Status changed from new to 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.