From eabc7b5c12cb89b4a828b7aaef00fdfa694a7e0a Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Sat, 25 Jul 2020 14:55:59 -0400 Subject: [PATCH] Fixing merge commit scans and large patch rule checking (#414) * Fixing merge commit scans and large patch rule checking * Adding tests for merge request scans --- scan/rule.go | 8 ++ scan/scan.go | 69 ++++++++++-------- scan/scan_test.go | 9 +++ test_data/test_local_owner_aws_leak.json | 45 ++++++++++++ ...t_local_owner_aws_leak_allowlist_repo.json | 45 ++++++++++++ .../test_local_owner_aws_leak_depth_2.json | 15 ++++ test_data/test_local_repo_eight.json | 47 ++++++++++++ test_data/test_repos/test_repo_8/README.md | 2 + test_data/test_repos/test_repo_8/dotGit/HEAD | 1 + .../test_repos/test_repo_8/dotGit/config | 13 ++++ .../test_repos/test_repo_8/dotGit/description | 1 + test_data/test_repos/test_repo_8/dotGit/index | Bin 0 -> 297 bytes .../test_repo_8/dotGit/info/exclude | 6 ++ .../test_repos/test_repo_8/dotGit/logs/HEAD | 1 + .../test_repo_8/dotGit/logs/refs/heads/master | 1 + .../dotGit/logs/refs/remotes/origin/HEAD | 1 + .../0b/aadf22eda42ba55c4fec3e14973edc6cec783a | 4 + .../0c/4994567bb2c77bebe47868d3bf1dd287d20452 | Bin 0 -> 131 bytes .../0c/79fa4384c973e9a6fe794491492da04ea289aa | Bin 0 -> 131 bytes .../16/f577ee2b9f9e185ae792092d779dc7e9a5d90f | Bin 0 -> 514 bytes .../17/f5d7f87925bdad6793b0fc7e338378ffb93166 | Bin 0 -> 131 bytes .../23/efedf4961168dc048e896f68eda78bcfb8e51f | Bin 0 -> 131 bytes .../2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 | Bin 0 -> 554 bytes .../36/09cadde7b3c8323d95943d6edfcf9c7a58dbdf | Bin 0 -> 566 bytes .../3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce | 4 + .../46/7192699b9e6aaf85401389e1db50ce9685ab56 | Bin 0 -> 87 bytes .../54/759376585b8a4e0318b1ecc0e770f69a6c4230 | Bin 0 -> 120 bytes .../61/4a498fb4c38af5f5909718481e8b371f118901 | Bin 0 -> 54 bytes .../64/b4391ddf2b399fb5218ee44cf90111d3f7ca9a | Bin 0 -> 565 bytes .../64/dbb271509f9b9647106da59914a6f5320de7c4 | Bin 0 -> 131 bytes .../74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f | 5 ++ .../75/ead74004eb27c7e9e1ddf391f089ea0441f242 | Bin 0 -> 386 bytes .../84/5ebbfaf21dd869057da0e2a3494f2b8dea8cde | Bin 0 -> 382 bytes .../92/67bc86ec1497471cbc6f3308f3527f7ef34b9d | Bin 0 -> 554 bytes .../b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 | Bin 0 -> 43 bytes .../b2/6121273b1bf2eb385ae14ad0a0f186e3a47f4b | Bin 0 -> 393 bytes .../b3/aeb0f5be4a83bbeaee1d6ae5b755502020819e | Bin 0 -> 102 bytes .../b3/bec734a41357c480b7856e0298de649a5fef14 | Bin 0 -> 566 bytes .../b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 | Bin 0 -> 131 bytes .../ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 | Bin 0 -> 611 bytes .../ce/7e8177bbf8a172c06b6a1e370a374d5c19f660 | Bin 0 -> 554 bytes .../fc/8b31a54e5975bc41e901965e0c7dee18ed202f | Bin 0 -> 74 bytes .../test_repos/test_repo_8/dotGit/packed-refs | 4 + .../test_repo_8/dotGit/refs/heads/master | 1 + .../dotGit/refs/remotes/origin/HEAD | 1 + test_data/test_repos/test_repo_8/dummy.txt | 8 ++ .../test_repo_8/ufos_might_be_real.txt | 19 +++++ 47 files changed, 278 insertions(+), 32 deletions(-) create mode 100644 test_data/test_local_repo_eight.json create mode 100644 test_data/test_repos/test_repo_8/README.md create mode 100644 test_data/test_repos/test_repo_8/dotGit/HEAD create mode 100644 test_data/test_repos/test_repo_8/dotGit/config create mode 100644 test_data/test_repos/test_repo_8/dotGit/description create mode 100644 test_data/test_repos/test_repo_8/dotGit/index create mode 100644 test_data/test_repos/test_repo_8/dotGit/info/exclude create mode 100644 test_data/test_repos/test_repo_8/dotGit/logs/HEAD create mode 100644 test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master create mode 100644 test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/0c/4994567bb2c77bebe47868d3bf1dd287d20452 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/0c/79fa4384c973e9a6fe794491492da04ea289aa create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/16/f577ee2b9f9e185ae792092d779dc7e9a5d90f create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/17/f5d7f87925bdad6793b0fc7e338378ffb93166 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/23/efedf4961168dc048e896f68eda78bcfb8e51f create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/36/09cadde7b3c8323d95943d6edfcf9c7a58dbdf create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/46/7192699b9e6aaf85401389e1db50ce9685ab56 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/54/759376585b8a4e0318b1ecc0e770f69a6c4230 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/61/4a498fb4c38af5f5909718481e8b371f118901 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/64/b4391ddf2b399fb5218ee44cf90111d3f7ca9a create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/64/dbb271509f9b9647106da59914a6f5320de7c4 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/75/ead74004eb27c7e9e1ddf391f089ea0441f242 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/84/5ebbfaf21dd869057da0e2a3494f2b8dea8cde create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/92/67bc86ec1497471cbc6f3308f3527f7ef34b9d create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b2/6121273b1bf2eb385ae14ad0a0f186e3a47f4b create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b3/aeb0f5be4a83bbeaee1d6ae5b755502020819e create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b3/bec734a41357c480b7856e0298de649a5fef14 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/ce/7e8177bbf8a172c06b6a1e370a374d5c19f660 create mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/fc/8b31a54e5975bc41e901965e0c7dee18ed202f create mode 100644 test_data/test_repos/test_repo_8/dotGit/packed-refs create mode 100644 test_data/test_repos/test_repo_8/dotGit/refs/heads/master create mode 100644 test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD create mode 100644 test_data/test_repos/test_repo_8/dummy.txt create mode 100644 test_data/test_repos/test_repo_8/ufos_might_be_real.txt diff --git a/scan/rule.go b/scan/rule.go index 29bbd3f8..1d283ec8 100644 --- a/scan/rule.go +++ b/scan/rule.go @@ -200,7 +200,15 @@ func extractAndInjectLineNumber(leak *manager.Leak, bundle *Bundle, repo *Repo) if bundle.Patch == "" { return } + + // This is needed as some patches generate strings that are larger than + // scanners max size (MaxScanTokenSize = 64 * 1024) + // https://github.com/zricethezav/gitleaks/issues/413 + buf := make([]byte, len(bundle.Patch)) scanner := bufio.NewScanner(strings.NewReader(bundle.Patch)) + scanner.Buffer(buf, len(bundle.Patch)) + scanner.Split(bufio.ScanLines) + currFile := "" currLine := 0 currStartDiffLine := 0 diff --git a/scan/scan.go b/scan/scan.go index 445760c2..668cd03c 100644 --- a/scan/scan.go +++ b/scan/scan.go @@ -113,41 +113,46 @@ func (repo *Repo) Scan() error { // increase Commit counter cc++ - err = c.Parents().ForEach(func(parent *object.Commit) error { - defer func() { - if err := recover(); err != nil { - // sometimes the Patch generation will fail due to a known bug in - // sergi's go-diff: https://github.com/sergi/go-diff/issues/89. - // Once a fix has been merged I will remove this recover. - return - } - }() - if repo.timeoutReached() { - return nil - } - if parent == nil { - // shouldn't reach this point but just in case - return nil - } + // inspect first parent only as all other parents will be eventually reached + // (they exist as the tip of other branches, etc) + // See https://github.com/zricethezav/gitleaks/issues/413 for details + parent, err := c.Parent(0) + if err != nil { + return err + } - start := time.Now() - patch, err := parent.Patch(c) - if err != nil { - return fmt.Errorf("could not generate Patch") + defer func() { + if err := recover(); err != nil { + // sometimes the Patch generation will fail due to a known bug in + // sergi's go-diff: https://github.com/sergi/go-diff/issues/89. + // Once a fix has been merged I will remove this recover. + return } - repo.Manager.RecordTime(manager.PatchTime(howLong(start))) - wg.Add(1) - semaphore <- true - go func(c *object.Commit, patch *object.Patch) { - defer func() { - <-semaphore - wg.Done() - }() - scanPatch(patch, c, repo) - }(c, patch) - + }() + if repo.timeoutReached() { return nil - }) + } + if parent == nil { + // shouldn't reach this point but just in case + return nil + } + + start := time.Now() + patch, err := parent.Patch(c) + if err != nil { + return fmt.Errorf("could not generate Patch") + } + repo.Manager.RecordTime(manager.PatchTime(howLong(start))) + wg.Add(1) + semaphore <- true + go func(c *object.Commit, patch *object.Patch) { + defer func() { + <-semaphore + wg.Done() + }() + scanPatch(patch, c, repo) + }(c, patch) + if c.Hash.String() == repo.Manager.Opts.CommitTo { return storer.ErrStop } diff --git a/scan/scan_test.go b/scan/scan_test.go index 9e22daff..39b4d2ec 100644 --- a/scan/scan_test.go +++ b/scan/scan_test.go @@ -376,6 +376,15 @@ func TestScan(t *testing.T) { }, wantPath: "../test_data/test_local_repo_two_leaks_deletion.json", }, + { + description: "test local repo eight (merges)", + opts: options.Options{ + RepoPath: "../test_data/test_repos/test_repo_8", + Report: "../test_data/test_local_repo_eight.json.got", + ReportFormat: "json", + }, + wantPath: "../test_data/test_local_repo_eight.json", + }, } for _, test := range tests { diff --git a/test_data/test_local_owner_aws_leak.json b/test_data/test_local_owner_aws_leak.json index dd2d44f4..373920d7 100644 --- a/test_data/test_local_owner_aws_leak.json +++ b/test_data/test_local_owner_aws_leak.json @@ -133,5 +133,50 @@ "date": "2020-02-24T14:13:15-05:00", "tags": "key, AWS", "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:44:48-04:00", + "tags": "key, AWS", + "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 2, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "dummy.txt w/ text", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:39:11-04:00", + "tags": "key, AWS", + "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Update dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:41:11-04:00", + "tags": "key, AWS", + "operation": "addition" } ] diff --git a/test_data/test_local_owner_aws_leak_allowlist_repo.json b/test_data/test_local_owner_aws_leak_allowlist_repo.json index 85a1801c..cd379e84 100644 --- a/test_data/test_local_owner_aws_leak_allowlist_repo.json +++ b/test_data/test_local_owner_aws_leak_allowlist_repo.json @@ -133,5 +133,50 @@ "date": "2019-10-24T09:29:27-04:00", "tags": "key, AWS", "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:44:48-04:00", + "tags": "key, AWS", + "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 2, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "dummy.txt w/ text", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:39:11-04:00", + "tags": "key, AWS", + "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Update dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:41:11-04:00", + "tags": "key, AWS", + "operation": "addition" } ] diff --git a/test_data/test_local_owner_aws_leak_depth_2.json b/test_data/test_local_owner_aws_leak_depth_2.json index 3df795dd..969bb6eb 100644 --- a/test_data/test_local_owner_aws_leak_depth_2.json +++ b/test_data/test_local_owner_aws_leak_depth_2.json @@ -73,5 +73,20 @@ "date": "2020-02-24T14:13:15-05:00", "tags": "key, AWS", "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:44:48-04:00", + "tags": "key, AWS", + "operation": "addition" } ] diff --git a/test_data/test_local_repo_eight.json b/test_data/test_local_repo_eight.json new file mode 100644 index 00000000..66673c60 --- /dev/null +++ b/test_data/test_local_repo_eight.json @@ -0,0 +1,47 @@ +[ + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:44:48-04:00", + "tags": "key, AWS", + "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 2, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "dummy.txt w/ text", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:39:11-04:00", + "tags": "key, AWS", + "operation": "addition" + }, + { + "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", + "lineNumber": 6, + "offender": "AKIAIO5FODNN7EXAMPLE", + "commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d", + "repo": "test_repo_8", + "rule": "AWS Manager ID", + "commitMessage": "Update dummy.txt", + "author": "Zachary Rice", + "email": "zricer@protonmail.com", + "file": "dummy.txt", + "date": "2020-07-25T14:41:11-04:00", + "tags": "key, AWS", + "operation": "addition" + } +] diff --git a/test_data/test_repos/test_repo_8/README.md b/test_data/test_repos/test_repo_8/README.md new file mode 100644 index 00000000..b0e4c4f2 --- /dev/null +++ b/test_data/test_repos/test_repo_8/README.md @@ -0,0 +1,2 @@ +# test_repo_8 +test repo for 413 diff --git a/test_data/test_repos/test_repo_8/dotGit/HEAD b/test_data/test_repos/test_repo_8/dotGit/HEAD new file mode 100644 index 00000000..cb089cd8 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/test_data/test_repos/test_repo_8/dotGit/config b/test_data/test_repos/test_repo_8/dotGit/config new file mode 100644 index 00000000..137b81bb --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/config @@ -0,0 +1,13 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true + ignorecase = true + precomposeunicode = true +[remote "origin"] + url = https://github.com/zricethezav/test_repo_8.git + fetch = +refs/heads/*:refs/remotes/origin/* +[branch "master"] + remote = origin + merge = refs/heads/master diff --git a/test_data/test_repos/test_repo_8/dotGit/description b/test_data/test_repos/test_repo_8/dotGit/description new file mode 100644 index 00000000..498b267a --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test_data/test_repos/test_repo_8/dotGit/index b/test_data/test_repos/test_repo_8/dotGit/index new file mode 100644 index 0000000000000000000000000000000000000000..fa77123191c1cd041c9f0dfa41f28fd9e3776675 GIT binary patch literal 297 zcmZ?q402{*U|<4b=6IPpO}?Bhc`%xhfq|9L?9@*NhQ=if42)laYD9ooVZ)OnpZv<( zcdX+Gk`LQ@cUIX?20;eSAXi5hUst`{6b7*V0>djX8fwljG;`*Kluj;-i0<-Zme}~_ z!1ID{vvQma7&uc(b8{>8N-9bq<`i#V2{s2vL(Tb(Y7Ue2rbI<`Yw1s~EutQJU0Cq3 z?eUU&Zw9f_wEW`u+|2ZhlK7<5_@dOr9I&B44}=7{x&kRl24e*SF7dC|e^jdOU7J36 k!=F0i=8FG24bzgmf?SP^GL9t(em{0@cK@%J2M@Xf0QU`Lj{pDw literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/info/exclude b/test_data/test_repos/test_repo_8/dotGit/info/exclude new file mode 100644 index 00000000..a5196d1b --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/test_data/test_repos/test_repo_8/dotGit/logs/HEAD b/test_data/test_repos/test_repo_8/dotGit/logs/HEAD new file mode 100644 index 00000000..c1e43ae7 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/logs/HEAD @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git diff --git a/test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master new file mode 100644 index 00000000..c1e43ae7 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git diff --git a/test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD b/test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD new file mode 100644 index 00000000..c1e43ae7 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a b/test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a new file mode 100644 index 00000000..1f425766 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a @@ -0,0 +1,4 @@ +xuRÉnã8œ³¾‚@�ÄZ¨ è„TdYqäEŠ×K@RÔb[–LQV¬¯O7èÃÌ»ÔC¡^…z¬®ªRG×þ’‚s 2èºÐ´lJufÛ”SmÇrRƒfZšêŽ�ê*4u¥!‚_$ åÌ6 �šaÚ :*µÓâªî:)· KÌŒgü­· …†ûpÊtj¸nFM]s8‡�e®ªiZjd6#.QH'‹Z€aw—Œƒïƒx€xiD-ëKEÊó3««¿�fº¦­ê–j�'ªªò`©$ (å´£àû¥¼9ß_òRýŸ³¼ÉÛ2Oÿöƒp–Á$a0GëØÿÉ+@}‹F{­ðê-›Nµ…ã™]áâfˆ°G(�†!òÄ~ð4áÒ‘úfLÔû—~9š>¶›Ó¹Û|xóþ€ ʰÃw iï«à–ònN‰#Í>¾ÎǘàÅy»vŠt¾Šö´‰fazñ�.CŠ¢‰w5o{ý}t�,'Fñ ¡Äóߨ–Å_ì ÓXÏB¯â÷­y<Ö¢e¥)¨lb3Q@\‡ñ¨1d†ü#´ÛÛr¶ÓG˜«�÷±WΤìó­iä§0y_ÌÔà.Û4êG:ZìÛ`2™( ›M§$zõÔè÷E8>ýk»,o²º-† +LJ'zÇîv¸.ñán 9m±ø¥En) ×‹ä}2ŽŽFP¿n/Á»7 %J®î~—0'¯¨» ö;˜Ÿ®«‰9ЈR»ðf±ì“y'ò +øAOh­üêÌŸ¿þwcJÄEÎAÓ�Ï@ðkÇ[ ¾é u~þ”,ø@nã?ö§†HV7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@c;ZL{WQoqR3J&rFKr^WHqzLR*Xpbu44nwDQ2pPQMUQ4*h& l8ef!}m;=^P`s%s^%WL)HFCX6hJn=*4D;CF3P5`W%HJBfgK{fyY literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/0c/79fa4384c973e9a6fe794491492da04ea289aa b/test_data/test_repos/test_repo_8/dotGit/objects/0c/79fa4384c973e9a6fe794491492da04ea289aa new file mode 100644 index 0000000000000000000000000000000000000000..40b16b2a84b0a583d54c820f77fd705d10863b2d GIT binary patch literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cVe`5TU-x-6?|$`8HtXs3&;SL6#(7XhrD^%a@wu7l871*a lsqsari8){$Hm7s6jeEqich^1?^|`)HmOnA{8~_T`GypwVK_f*yynL(&ZwlW|Q1bJu_^ftU70y^RYzCPLHy4#2D zs;=tlLwDRYP1yqpE5CZ4ra(fNVMWd&9E&o`NJbQ>%#e&_l**AfLm5J{0+GP3ebI4n zU~$3t0M=!kf|rqh$v3^_4J(ho)*Zr1aQBou}Z0`QR=JyGBb=@ zuB}yTR#e!%iQK$Xni!@@7qn_slAO<>2`6HMV$n486&JufX(ww*3*@`!*}m_7z$(*R z6iHP_#Sw2ON_uCLw2DGQL>imyRXxiMD>&?KXIeqGwZ7|=)DwU;ub`H)dB)7#WY(siSFvSdhwq{b zZxJO!m;}r1;KJIFEvq7-Uo#etH&im`w3G#~xhtV4%k|2(CuF6YBWu^h!H+a)oDZoc zkFW^e$8@>xy6|b#@7Nv?KJE(XaaxN+s|3(a{rGU^qj%MpQGg2WZ_GlQKAGdK$pd{= zYpazs$$KvtWZiqu;!Q1fI^R89nRLVDRRFKNJ?@2{&2(q}@5KbOE&Gxk!Ot;10TD3D EILeX&#{d8T literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/17/f5d7f87925bdad6793b0fc7e338378ffb93166 b/test_data/test_repos/test_repo_8/dotGit/objects/17/f5d7f87925bdad6793b0fc7e338378ffb93166 new file mode 100644 index 0000000000000000000000000000000000000000..fef363e1c8081bde6bb32983d7b3128dd24ef73b GIT binary patch literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cA*6J2SwwV~AG5^9HwT^QZQ7Z!YMd%UFH8vvdnG(0u~JJbLG literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/23/efedf4961168dc048e896f68eda78bcfb8e51f b/test_data/test_repos/test_repo_8/dotGit/objects/23/efedf4961168dc048e896f68eda78bcfb8e51f new file mode 100644 index 0000000000000000000000000000000000000000..ed1e3becd5a56bd84ed93118a59d806bd3908572 GIT binary patch literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cA*6J2SwwV~AG5^9HwT^K1Kil literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 b/test_data/test_repos/test_repo_8/dotGit/objects/2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 new file mode 100644 index 0000000000000000000000000000000000000000..ec7b7787adeb92a015ff8e9c7bc88a5640a46277 GIT binary patch literal 554 zcmV+_0@eL^0d-N?j-xOD+h@Ka?`XC_0x8nWYLb=~XrYuITjq@;9Ob5=*Vk`%o_GCX z$&zKuj@!B}IKYzhgAa^>NSEYPLokvVVMS3EHBhT9be1&ly4iDfLF$3?<;YGt|H?+KM z>aeJO#%=uz$f~Yl>6L@Pn}j4uc&V?JoDE=EaC3~nd(#fAs~(?O!SgZtk1gx6OOb)M zzo5p_a)Gz>z|LB_WPk9DZ(RTaxLs&W386DWwsdQ!rYUV_K3(Dbj5b#|ST{lv)3OMe zV?$IB($f5#EUpv#Xlff)2q1GzyO(#^I>S}u2Bhq&Y9=?nsvAnVb|dSq;yk@+A*EG+ zYSvxVxu*6c&cXJ`<}M0Aj73FyP4_Brc|b9hQ3J~Y-;W(Tk+PgugqNXK5StQxZw-dy zglM&T@HE)Wjod5+aL5wRANLAfT~1Th3Cw#s5|MFeM!0}T`VFlsJNhBIz>?|DvL#-;IAKN<~s8( zFZq&}yyU}mSr!cFqWptVLVzTblq9KQYNDta2^JKC7^aqL21$@^#5j!&qKYZkAWA9* zB&4PUV@a2FMKWVS5)_@N$TSlZ3kYjO*N}{`#G#JmH3cVxb3_La7MOsKCw&$DYG}>s zszk;09oOYgAgZRS3zDV?;7w2jfqT){OGYU03O4Ct@KM#2G}qxPD_Gve|Cwb?))pCf z`yI>m`~a-H71;P*0Jpo){lhuHfk$g$3qs3=aBZ!p>0}~4?9iI&`B_=sW$Hg5OeVe$ z?Y)ba*Mw|?r9WTQP3cyifGZA6qPP{Byq=^tx#+xuU(I)9-Rt8%DQ22Bj6)Mz#ElB) zVdFw2Be=4+(!!hVV}AV1-+k)r`P0H;BUf@zm}SbcA2v7ju`$j#3HfMP z&2N(8&u*>A;vIh(bfc4=9Psk_td?cNlFeiNxKkL3xg*&^MPWgE&o=P|dDCGt3)?G( zEQ4&V&uX%l_sJMpj>dtACpRk{4Po?jvwl8{>9Of*1i^TDRY2k>%_=Cf}5x>pSb&FQ291 EgHDJY*8l(j literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce b/test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce new file mode 100644 index 00000000..f17380c8 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce @@ -0,0 +1,4 @@ +x5‘QJÄ@ †}î)r€RQ¼€.º +*‹�éLÚ§™Ì´êÓ^CÐËíÏæ¥Iþ|ÿŸ>Hçg›“�À�Ä‘p„‡ ½¬ÚÂ=ÅŒ£ÄãáSá©ÛvwAVK6i>Ff%bx2y%6F@paY9O<~yZlX$D34*;pN9@pE5E35zj literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/54/759376585b8a4e0318b1ecc0e770f69a6c4230 b/test_data/test_repos/test_repo_8/dotGit/objects/54/759376585b8a4e0318b1ecc0e770f69a6c4230 new file mode 100644 index 0000000000000000000000000000000000000000..a2e02e6b4a884c3ed5080b49cbe4b3bbf1feedeb GIT binary patch literal 120 zcmV-;0Ehp00ZYosPf{>6wP0{eNy*GhS4dPSPE9UKE#XQmFOE-4PEIW@j?Yf5jL%H5 zRd@9EboBH$b@O-e^D}piaP$rEaaGsh;^IQntB{|kkeHWWl95`ZkW`eImz<%fs7Q)| a!TGtV3c2}3sS3&Yc_pcNC0qcfdNq%vR6PO! literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/61/4a498fb4c38af5f5909718481e8b371f118901 b/test_data/test_repos/test_repo_8/dotGit/objects/61/4a498fb4c38af5f5909718481e8b371f118901 new file mode 100644 index 0000000000000000000000000000000000000000..380207392de6161abf5bc9271714479adb268bc0 GIT binary patch literal 54 zcmV-60LlM&0V^p=O;s>9XD~D{Ff%bx2y%6F@paY9O<~yZgnQ;!?A=P2_kxsE0c?X43~OR1buJML%L3u$WsR|aebe^Z z&Sj)e8fiw8^=(@TfE4YU;FJP6(`{QfOhky9Aw(#lIb9YZg5Gan9xX-Ap^?1_w=HfVc zu-Q1P?V*1ib_A6cT=sZSLlzy_EP+%BdYIX0?IfI9KAG4eDgv=@O1y_|Ob_aACfjxN zB&z1zF0#;ii?Z_YJSA~d&;CIIpLklBS*41F;#YzZ9w#e6)my{39sx$tB0**@1AX3GM;MIBywjaf9Uj#-BZ zoKJn>O%3+qh%KB((5H(87<7?34+>nyb-fFgr!?k)FBl0ezdf4nv}N)xhDWGfFhXb; zzqYyKNG@Hn`5Zl60;h!dp{gG#hS!2Y9E!e+}zk);ocJ1YgVyvc^$%AT)(H$ zI+&uD*W+8}jt>%eSbK3N{rzkeE&u(PbQtnfP;f5#@uRI+DLx4O;52Q%i&^{v>RsR7 Dkh&0) literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/64/dbb271509f9b9647106da59914a6f5320de7c4 b/test_data/test_repos/test_repo_8/dotGit/objects/64/dbb271509f9b9647106da59914a6f5320de7c4 new file mode 100644 index 0000000000000000000000000000000000000000..572af320aa4be96923d1a746313e2416e63bd0b9 GIT binary patch literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@c;ZL{WQoqR3J&rFKr^WHqzLR*Xpbu44nwDQ2pPQMUQ4*h& l8ef!}m;=^fb2>-cxJNvDckM$_pX=LX`4dCW0RVu!G1U7iKm-5) literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f b/test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f new file mode 100644 index 00000000..062870af --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f @@ -0,0 +1,5 @@ +xu’I�›@…sæW´”£51ЬÒL4Íàañ2¶1Æö­iºÛ,n/üúL&Ê-y—’>½*©ôiªªÀRà7Á)ŠÉôÌd–i«zšáÌ0m˜ÊŒ˜B šc© Ã�ZÌi-€œbœ1U¥ÖÔë:Ñ%�*šmBšƒPbZÿõjPÚÉ,¬É²¥œ)*¶˜Flƒê–LTU–‰"á^ L +Ì`] +žþ9økËÑÔ.Ï?HSýŠn리–žäÏ«Ò'ýüJP¼Rø} +žë†ÓöüxÍKQôéÖò6ïÊ<ý–3ñ‚XzKÞmâõä‹K@·Î!BÎB+g2ßW‹·µ35‹£öq…<¸!”ùA€œ²� Ûe”Íp…®Ó½}¹�$`LœÕ)Q£—°¸Äè^Ò…u8.šážTs@â8F†«ØÃ›ÊÇ—õUÓù¶‰NLënåó�ûÍ=ÉX�?|÷Ñi¥Ÿˆ“DiÂín}བྷzrXoº8!^³XmÇm©—K eµ›¸§B› ½ºôµÃ¡×s¦T—+Šxn÷óñu÷ü˜ôÓª•å5W½ò¨ɺ—€=«¶¡zàGy£—íþ�Ù‘æN{\0X30dO5{Kg#(mBy>Hr~#AbNn^0YOJWW!T3`cXd+O>5{JQWZkE^hTvXq zPO{a*8t9jN_2>6}HAWfX`ug@_FK{nuq70nic}6dr_V7fh;3VmE{8V@ycEjTUuZasB zI7WEDH-cwb2zH!2r%B5$;l<7K*1a2HXP1Dif(rqGy%&c2_S z9UKPufh(IYOn_Rlyw4xXj2KESL%eQ<|&q zl)e-C?-G=a8?G)dZ+cMVHUdlEIJJf5P{~;6H!hs8u%za^4P3BU!>H!jTQLO8_Ba|{ z5lhr$>p6$U*$Qg5MGdl5%)GQJ19h>s{&Z!<+KqX_L7hE}GWy$W`1y^)ynAAK+YlaDneVmN0 ziY01gn|TY3i#4=jiyYEB7GAx}KtpPt{N?=nWb34*=$EXfZ-=uh+MH6_NQcY$kEOKB c{*#J!T__Z-ZYswg-#x#!tp8s37at+VI<=C$uK)l5 literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/92/67bc86ec1497471cbc6f3308f3527f7ef34b9d b/test_data/test_repos/test_repo_8/dotGit/objects/92/67bc86ec1497471cbc6f3308f3527f7ef34b9d new file mode 100644 index 0000000000000000000000000000000000000000..9ab8fb9f5b259eb165741b9f04994e5991ce7a03 GIT binary patch literal 554 zcmV+_0@eL^0d&MQ6=dcwe- z-CXHNSGv++m%1(lKoI^A9p?Ztgj1@ihQ=^bIi~ZJBdlpy*07RLsBx+om{O^w9d86U zsVB~ms!>f=b;L9So{*u>IaIKb@VSPmp7K=IBsz%v(t((=oOU;`FBk{U_wKv8*S5Qe zOH5GLsO~B4lUo+|+UIjBvw=1Rw&Uy6Bv%=+YX&e^i zJ7pGvSGOL+Rt|(clfXQJ>aEi=QhMf9J1*i$**zF&Le1xKvmrDxbW51jyIQ)4mi9WR zO0FK?uG!LQ_OqETfloFZ{8c;<`Y=QKV(dldjNCi2o8_+@HxLKQ#ve(RyH^~3(19eO sQ9u`!K`@>2>_q}Ew5@m2UuU+r__r}BY7;6rNQSz;J&7;z3z3`Jkd<8!ssI20 literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 b/test_data/test_repos/test_repo_8/dotGit/objects/b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 new file mode 100644 index 0000000000000000000000000000000000000000..0fbd83bbc0569fc192e9268623ababa49e7417a3 GIT binary patch literal 43 zcmb;<18d&oq77YZThc z?MW(c8^gSeq+j3vYf3V~$J_VsjsjmL&s2ajJT4ey*8v_VSDYnZ&c76%#>03&!c*o7 zCr%0O@R{IIR)PcPz$TBW;s zOX)44|1Lqg9+ixRe&EU(D@*RqyWoo58YVT*!I~jrv5%9{ zRk1{^Y%|x;xL89gwx~n)j)m9WWuQK_p8Vzf`(*2+rO+=~P2Ub@SF|~$w2_XN^B+rT nm;EOdb6wq$TjNy*GhS4dPSPE9UKE#XQmFOE-4PEIW@j?Yf5jL%H5 zRd@9EboBH$b@O-e^D}piaP$rEaaGsh;^IQntB{|kkeHWWl95`ZkW`eImz<%fs7Qi= I0P09C_?5OZp8x;= literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/b3/bec734a41357c480b7856e0298de649a5fef14 b/test_data/test_repos/test_repo_8/dotGit/objects/b3/bec734a41357c480b7856e0298de649a5fef14 new file mode 100644 index 0000000000000000000000000000000000000000..66a5e8cbccc9c59bff6d8f57a9720167af70f0e1 GIT binary patch literal 566 zcmV-60?GY&0d&MQ6=dcptT~c^Ra3RLBdG<^^dW-Bh+QkCXs$ObGe<$;@nL z?&eBIy3&y@t52sw0*tgDQg9ATJ)u;^$bfcgQ`^)rf@VSt+eSJuQ$tf>!ZFj8h6r9s zz&Pd>!kE(3A_%Jtn$#qSYZwv@>xsdToth?8NGtPNfKS45B6<)MjDwfEc$9c+L@n#; zM2hm6)u*2T8Mc9;s;d@wf;xoCgFY-J7hqOMuchFnss(S#{w*tH-qQcfvL?F}8F=~~ zcQW%=U^Cl*(4VcG-A6F_!xf-_?&31naomyPY~AfV^}L>q0(XJ)qrSds!tWd>@qFKz z_9ED?!`>T5Y#W8l({d|pi2@R@i&c0S@uB^#SA7r`mrFG0J8ef(SRXh2X1dg}FkLV< zr_EqKf7d40S{;#X>g#o3DL}Kmyfn4K)OLO2m*d@f?4m2&w^(b9!aTej_xI}D$;7Px{BQM(2i!O6wBq_ zU*WlRy~Q0~(53Ua#tJBmn#vtUGB+!0Qw@UN8b&Qzr=j<4ZRW#|GZbRlq_XZLTuJ{B zHPd?#1p9Hi>^}8Z1-y9BHd&4T{g^TmoJbDZw7z_uiY%93lz%-~`7Cep7kb0s ETgWvYC;$Ke literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 b/test_data/test_repos/test_repo_8/dotGit/objects/b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 new file mode 100644 index 0000000000000000000000000000000000000000..32965723788ae8009793ba676eba5b2cb9ca4d44 GIT binary patch literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cA*6J2SwwV~AG5^9HwT^-cxJNvDckM$_pX=LX`4dCW0RWN5GEXtWJXZh! literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 b/test_data/test_repos/test_repo_8/dotGit/objects/ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 new file mode 100644 index 0000000000000000000000000000000000000000..142ab78be68660bd00d64e26c4f67cf0b120674d GIT binary patch literal 611 zcmV-p0-XJL0d-PKZ<|0E?3rJ&w;U`tzyb?WQU&}1V`B{QE4O`NaBaZLf@6Mt-A28& zbNQsveA0|&Xmz<15+ECXlY(=gq0D3`vyr2lgkfeO2NE@-h(l;YWM>(1pk`T0jRh|y zfR^e|%os-mQXA@!Ii_PkW^tC$%%KRIHX|(it5*reEYo$)u%Q!dn$*ZRgv`t;`eu}PA<9q2s)Hi9xi0gAzzwX!dTZ<}%ZtvJdpBR6AY1;tD&Uej zhqT+MWEV1h^f6KGb-$58p-bOINYlMzL*3+4g^O)Ww)^?*gteeg{ZsNe>*}Caz%C}q z&)q>d3)LNbE>_|7@L`NuqK~F+U#_l8FTO5UvPY(E>@|NT#;g3C1uM;JZNmG9hmm$u zM>Li#v&NK0X11M9%SE6%xjbH zCdZO(qws#d?NgWMVIa4`bJwP`DCh|~oU6OJbkccOBaIGZG|=+sPWaSFu>#)5O$(*m zPww5QZpu+af{7{yFe$3SKHqNU8sb>ITit1NDPIC4M)E@=*)F1UGY;|Ua{tiWTug)FKPpN9>ng3IBT>=$gc_PSX=?U}EbyOnsr3@}ns1@IUs3C0U}xv>le%w`x2=Ii6O*Y;hW z^cLw!FRIHjV?c)d57tr&L`mkcAYmM0Dg{BJAQAEl1yeo_5sWC76cmI=;+mkP6$8AK zAX%nV2yyZZJxwZO0b(JRWgJH`#Q};jOt_$DY2AWz5T!x;0NX60;B9K3)P6K=&FZQQ zvf?$W%b$Qp7|BprARfFx5kl^%K36i@0wZH)AA+~4ZfR3IJ}wzc`|v-tOLOV63wZer zjTn{#T*C!B%W%}aw8w)vHq=IH8M&6d+#T;CV1HK=NAT9&F> zYI=+heSV(}svnOD)P0O@955z5HephNj2>< z-;#$~L5=1{gL!u+!~x|}T7q3*r|CrUX(nXj*y||WLoDj3YMi}P-#)eV3Wf0QDfOmK zquM6@tew{L;|*0DI0WXyD%f5^ntqL`nHwUnHyQNLv1RMbx?T$Fl$(A|DwwZWK3B@e zd4HbHfq&Zh+lT|?noFx~*o?E3b!+>UdEKZNz1X(nz#kbIGUb*yP1GyAd0OU&s5bod5s; literal 0 HcmV?d00001 diff --git a/test_data/test_repos/test_repo_8/dotGit/packed-refs b/test_data/test_repos/test_repo_8/dotGit/packed-refs new file mode 100644 index 00000000..749d5955 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/packed-refs @@ -0,0 +1,4 @@ +# pack-refs with: peeled fully-peeled sorted +ce6e0398cd8a40085cad12a8f4c96e580c2200c1 refs/remotes/origin/additional-secret-branch +748f11eaf2c38c3cf0ac6a22e44208777e79fa6f refs/remotes/origin/master +64b4391ddf2b399fb5218ee44cf90111d3f7ca9a refs/remotes/origin/zricethezav-patch-1 diff --git a/test_data/test_repos/test_repo_8/dotGit/refs/heads/master b/test_data/test_repos/test_repo_8/dotGit/refs/heads/master new file mode 100644 index 00000000..4037f091 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/refs/heads/master @@ -0,0 +1 @@ +748f11eaf2c38c3cf0ac6a22e44208777e79fa6f diff --git a/test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD b/test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD new file mode 100644 index 00000000..6efe28ff --- /dev/null +++ b/test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD @@ -0,0 +1 @@ +ref: refs/remotes/origin/master diff --git a/test_data/test_repos/test_repo_8/dummy.txt b/test_data/test_repos/test_repo_8/dummy.txt new file mode 100644 index 00000000..54759376 --- /dev/null +++ b/test_data/test_repos/test_repo_8/dummy.txt @@ -0,0 +1,8 @@ +Adding a secret +aws_access_key_id='AKIAIO5FODNN7EXAMPLE', + + +Adding a secret on another branch!!! +aws_access_key_id='AKIAIO5FODNN7EXAMPLE', + +Some more content diff --git a/test_data/test_repos/test_repo_8/ufos_might_be_real.txt b/test_data/test_repos/test_repo_8/ufos_might_be_real.txt new file mode 100644 index 00000000..b2612127 --- /dev/null +++ b/test_data/test_repos/test_repo_8/ufos_might_be_real.txt @@ -0,0 +1,19 @@ +No Longer in Shadows, Pentagon’s U.F.O. Unit Will Make Some Findings Public + +For over a decade, the program, now tucked inside the Office of Naval Intelligence, has discussed mysterious events in classified briefings. + + + +Eric W. Davis, an astrophysicist who worked as a subcontractor and then a consultant for the Pentagon U.F.O. program since 2007, said that, in some cases, examination of the materials had so far failed to determine their source and led him to conclude, “We couldn’t make it ourselves.â€� + + +wowzers + +credit to NYT + + + +uhmmmmmmm + +Some more stuff +