Skip to content

git lfs blows up when a space is present in filename #298

@kernelsmith

Description

@kernelsmith

if I

git lfs track "file/with/a space in it"

all goes well until I do a push or similar, then I get

file/with/a is not a valid attribute name: .gitattributes:1

and manually adding quotes around the file name in .gitattributes doesn't help. This is pretty brutal. Is there a config option or somesuch that enables this behavior. I don't personally use spaces in file names, but some of my users do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions