Skip to content

Remove .verify-helper/.gitignore if it's checked in the Git repository #332

@kmyk

Description

@kmyk

Description

ユーザのレポジトリに不要なファイルをチェックインさせないために .verify-helper/.gitignore が用意されている。これについて、v4.10.0 のあたりで .verify-helper/.gitignore それ自身の中身に .gitignore が追加されていた (fc43524 )。これは以下のふたつの理由による。

  1. .verify-helper/.gitignore をチェックインすべきそうでないのかでユーザが混乱する
  2. .verify-helper/.gitignore をチェックインしてしまうと、そのリストの更新のたびに不要なコミットがユーザのリポジトリに混入する

さて、.gitignore を追加したのはよいが、すでに .verify-helper/.gitignore をチェックインしていたユーザの環境には通常発生しない変な状況が生まれる。これはユーザを混乱させてしまうのでよくない。

Possible implementations and the analysis (optional)

.verify-helper/timestamps.remote.json の更新コミットなどと同様にして、``.verify-helper/.gitignore` の削除コミットを自動で作る。

Other notes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions