From e4651e88923221f3c0667e8c53acf824058d6259 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 20 Jun 2025 21:38:26 +0200 Subject: go-git-gitignore: copy matcher.go, pattern.go from go-git/plumbing/format/gitignore Files copied from https://github.com/go-git/go-git/tree/7bc22667c9e181cc1361eccec77f1a237abee860/plumbing/format/gitignore . Importing all of go-git pulls in a metric ton of dependencies, so I have decided to only copy the two files we need. https://github.com/rfjakob/gocryptfs/issues/927 --- internal/go-git-gitignore/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 internal/go-git-gitignore/README.md (limited to 'internal/go-git-gitignore/README.md') diff --git a/internal/go-git-gitignore/README.md b/internal/go-git-gitignore/README.md new file mode 100644 index 0000000..fff42bf --- /dev/null +++ b/internal/go-git-gitignore/README.md @@ -0,0 +1,9 @@ +Imported from +https://github.com/go-git/go-git - A highly extensible Git implementation in pure Go. +using the commands below: + +``` +curl --remote-name-all https://raw.githubusercontent.com/go-git/go-git/refs/heads/main/LICENSE \ + https://raw.githubusercontent.com/go-git/go-git/refs/heads/main/plumbing/format/gitignore/matcher.go \ + https://raw.githubusercontent.com/go-git/go-git/refs/heads/main/plumbing/format/gitignore/pattern.go +``` -- cgit v1.2.3