1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +00:00

[infra] Add config for custom hunk text when using git diff on status files

To enable this, run "git config --add --local include.path ../.gitconfig"

Change-Id: I7f8660f046d562adadd726c47ab2d977cf0d772b
Reviewed-on: https://dart-review.googlesource.com/57511
Reviewed-by: Jonas Termansen <sortie@google.com>
This commit is contained in:
Alexander Thomas 2018-05-31 13:56:45 +00:00
parent 14b9d7f128
commit 8e925982c6
2 changed files with 4 additions and 0 deletions

2
.gitattributes vendored
View File

@ -53,3 +53,5 @@ tests/lib_2/mirrors/method_mirror_source_other.dart -text
*.png binary
*.jpg binary
*.xpi binary
*.status diff=status

2
.gitconfig Normal file
View File

@ -0,0 +1,2 @@
[diff "status"]
xfuncname = "^\\[.*\\]$"