├── .eslintrc ├── .github └── workflows │ ├── lint-and-test-merge.yml │ └── lint-and-test-pull-request.yml ├── .gitignore ├── .npmignore ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src └── index.ts ├── test ├── index.test.ts └── tests-data │ ├── add-and-delete-file.patch │ ├── complex.patch │ ├── hyphen.patch │ ├── many-files.patch │ ├── one-file-author-line-break.patch │ ├── one-file-diff.patch │ ├── one-file.patch │ └── rename-file.patch └── tsconfig.json /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dherault-typescript" 3 | } 4 | -------------------------------------------------------------------------------- /.github/workflows/lint-and-test-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/.github/workflows/lint-and-test-merge.yml -------------------------------------------------------------------------------- /.github/workflows/lint-and-test-pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/.github/workflows/lint-and-test-pull-request.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/.npmignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/index.test.ts -------------------------------------------------------------------------------- /test/tests-data/add-and-delete-file.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/add-and-delete-file.patch -------------------------------------------------------------------------------- /test/tests-data/complex.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/complex.patch -------------------------------------------------------------------------------- /test/tests-data/hyphen.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/hyphen.patch -------------------------------------------------------------------------------- /test/tests-data/many-files.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/many-files.patch -------------------------------------------------------------------------------- /test/tests-data/one-file-author-line-break.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/one-file-author-line-break.patch -------------------------------------------------------------------------------- /test/tests-data/one-file-diff.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/one-file-diff.patch -------------------------------------------------------------------------------- /test/tests-data/one-file.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/one-file.patch -------------------------------------------------------------------------------- /test/tests-data/rename-file.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/test/tests-data/rename-file.patch -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dherault/parse-git-patch/HEAD/tsconfig.json --------------------------------------------------------------------------------