Skip to content

Clean repo checkout on linux #865

@am11

Description

@am11

Repro

On linux:

#  clone repo
$ git clone https://github.com/microsoft/TypeScript-TmLanguage && cd TypeScript-TmLanguage

# delete all .txt files
$ git rm :/*.txt

# revert deletion
$ git reset && git checkout .

# check the repo status
$ git status

Expected

repo status reports no modified files.

Actual

repo status reports that there is one modified file:

$ git stauts

On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ThirdPartyNotices.txt

no changes added to commit (use "git add" and/or "git commit -a")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions