Adds .gitignore checks to reduce blame calls

Caches failed blames to reduce blame calls
Only clear failed blames from cache on change/save
Add better error messages and handling
This commit is contained in:
Eric Amodio
2016-09-14 13:30:14 -04:00
parent dfd17a8f17
commit fba6def3e4
7 changed files with 190 additions and 82 deletions

10
typings/ignore.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
declare module "ignore" {
namespace ignore {
interface Ignore {
add(patterns: string | Array<string> | Ignore): Ignore;
filter(paths: Array<string>): Array<string>;
}
}
function ignore(): ignore.Ignore;
export = ignore;
}