title: .gitattributes match a directory by name in any sub-directory,
body: <p>In .gitattributes, how can I match any subdirectory with a name <code>blah</code>, e.g. <code>a/blah</code>, <code>b/blah</code>, <code>c/blah</code>?</p>
  <p>It seems none of:</p>
  <pre><code>blah -diff
  blah/ -diff
  blah/** -diff
  **/blah -diff
  **/blah/ -diff
  **/blah/** -diff
  </code></pre>
  <p>works.</p>
  <p>From <code>man 5 gitattributes</code>, I would expect <code>blah/**</code> to work:</p>
  <blockquote>
  <p>The rules by which the pattern matches paths are the same as in .gitignore files (see gitignore(5)), with a few exceptions:</p>
  <pre><code> •   negative patterns are forbidden
  
   •   patterns that match a directory do not recursively match paths inside that directory (so using the trailing-slash path/ syntax is pointless in an attributes file; use path/** instead)
  </code></pre>
  </blockquote>
  <p>Since <code>blah/</code> would work in <code>.gitignore</code> and I've changed <code>/</code> to <code>/**</code> as instructed.</p>
  <p>Is this possible?</p>