Skip to content

Commit

Permalink
git: restrict -diff attributes to specific files
Browse files Browse the repository at this point in the history
Fix an issue where all `parser.nit` files didn't show a diff.
It wrongly caught lib/dom/parser.nit.

Signed-off-by: Alexis Laferrière <[email protected]>
  • Loading branch information
xymus committed Aug 29, 2017
1 parent b594ef0 commit 00a6746
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
c_src -diff
parser.nit -diff
parser_prod.nit -diff
lexer.nit -diff
tables_nit.c -diff
c_src/** -diff
/src/parser/parser.nit -diff
/src/parser/parser_prod.nit -diff
/src/parser/lexer.nit -diff
/src/parser/tables_nit.c -diff
/c_src/** -diff

tests/sav/**/*.res -whitespace
*.res -whitespace
Expand Down

0 comments on commit 00a6746

Please sign in to comment.