{"thread":{"id":"41226","subject":"Bug(ish) - Documentation of .gitattributes Globbing Syntax Whitespace Escapes","startedAt":"2016-01-20T20:35:37Z","lastAt":"2016-01-20T20:35:37Z","messageCount":1,"participants":["dis trans"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"276449","messageId":"CAN1fZZGqERtA1FqSH1sxi4T74TB4sex7kBPBM8J4fVimQO1eSA@mail.gmail.com","threadId":"41226","inReplyTo":null,"subject":"Bug(ish) - Documentation of .gitattributes Globbing Syntax Whitespace Escapes","fromName":"dis trans","fromEmail":"humanoidanalog@gmail.com","sentAt":"2016-01-20T20:35:37Z","receivedAt":"2016-01-20T20:35:37Z","isPatch":false,"sender":{"key":"humanoidanalog@gmail.com","avatar":null},"body":"In the documentation for .gitattributes, \"[[:space:]]\" is mentioned in\na code snippet but is\nnot documented, and neither is the glob syntax escape from the\ndocumentation page for\n.gitignore (\"\\ \") not working with .gitattributes.\n\nFor example, in a .gitattributes file the first glob will work, but\nthe second will not.\n\nmy[[:space:]]directory/**/*\nmy\\ directory/**/*\n\nThe opposite is true with .gitignore.\n\nI got caught up for a number of minutes trying to figure out why my\nescapes weren't\nworking in the fancy-pants .gitattributes I whipped up, and I'd\nfigured it'd be worth saving\nsomeone else the trouble. It could very well be documented somewhere\nI'm not aware of\nbeside the code snippet, but I wasn't able to find it seldom a github\nissues search, so I\nthink it'd be worth putting on the .gitattributes page.\n\nPS -- Apologies for not having a diff to send to fix this, but I don't\ncurrently have the tools\navailable to me.\n"}]}