Skip to content

(A) is not a valid attribute name when cloning the repo #4130

Closed

Description

@asears

When cloning the repo from a fork, one of the .gitattributes in the tests is throwing an error. This seems to be introduced by recent PR #3662

Cloning into 'templating'...
remote: Enumerating objects: 55126, done.
remote: Counting objects: 100% (1871/1871), done.
remote: Compressing objects: 100% (877/877), done.
remote: Total 55126 (delta 1273), reused 1387 (delta 982), pack-reused 53255R
Receiving objects: 100% (55126/55126), 21.84 MiB | 34.73 MiB/s, done.
Resolving deltas: 100% (41644/41644), done.
(A) is not a valid attribute name: test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/.gitattributes:1
Updating files: 100% (1698/1698), done.

Tests should not impact a clone, could generate this file at test time or fix invalid format.

https://github.com/dotnet/templating/blob/b52c4776512cc3b6873655a7f6dc33bb569846e1/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/.gitattributes

There may also be some nonstandard ASCII characters in the file.

image

Activity

  1. added
    triaged
    on Nov 22, 2021
  2. added a commit that references this issue on Nov 30, 2021
    7d42da0
  3. added 3 commits that reference this issue on Dec 1, 2021
    cbf9895
    1e2f250
    74c7edc
  4. added a commit that references this issue on Jun 21, 2022
    aa3bf58
  5. added a commit that references this issue on Jul 11, 2022
    b3c3ffb
  6. added a commit that references this issue on Jul 16, 2026
    6373bf0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triaged

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions