Fix patterns for .gitattributes
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 20 Sep 2014 05:40:01 +0000 (08:40 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 20 Sep 2014 09:09:51 +0000 (11:09 +0200)
In different contexts, git treats a trailing wildcard pattern
differently, and in .gitattributes it does not apply recursively.
A double star would, but at least the last time I tried, it did not work
with the version of git that runs on Jenkins.

Change-Id: Iac53b755a2931e8cd3ccdb6169346b0631715986

.gitattributes
src/external/.gitattributes

index bb30b7748ddf678cfe9713e85498b8f6ed12e598..1f069f17776485f5a38735a0ae313c9eafb2b280 100644 (file)
@@ -34,7 +34,6 @@ docs/manual/UseLATEX.cmake              !filter
 scripts/GMXRC.*                         !filter
 scripts/make_gromos_rtp.py              !filter
 src/contrib/*                           -filter -gmx-doxygen
-src/external/*                          -filter -gmx-doxygen
 src/gromacs/gmxlib/nonbonded/preprocessor/gmxpreprocess.py !filter
 src/gromacs/linearalgebra/gmx_blas/*    !filter
 src/gromacs/linearalgebra/gmx_lapack/*  !filter
index 5c61d8f626f5b8a1b49910d783e756a7e2d573e6..24cfcc74ca516e114f26420e32f9dbc2e2a009b3 100644 (file)
@@ -1 +1,4 @@
+# Only recent versions of git support pattern matching rules that would allow
+# the first to be conveniently specified in the main .gitattributes file.
+*                               -filter -gmx-doxygen
 gmock-1.7.0/CMakeLists.txt      filter=copyright