Path Lines of Code CMakeLists.txt 284 README.md 301 SECURITY.md 10 examples/CMakeLists.txt 12 examples/README.md 15 examples/add.c 107 examples/args.c 158 examples/args.h 26 examples/blame.c 140 examples/cat-file.c 174 examples/checkout.c 179 examples/clone.c 88 examples/common.c 194 examples/common.h 74 examples/config.c 40 examples/describe.c 102 examples/diff.c 283 examples/fetch.c 69 examples/for-each-ref.c 35 examples/general.c 310 examples/index-pack.c 52 examples/init.c 136 examples/lg2.c 92 examples/log.c 345 examples/ls-files.c 80 examples/ls-remote.c 39 examples/merge.c 257 examples/remote.c 183 examples/rev-list.c 108 examples/rev-parse.c 70 examples/show-index.c 42 examples/stash.c 112 examples/status.c 340 examples/tag.c 206 fuzzers/CMakeLists.txt 19 fuzzers/corpora/patch_parse/edit-file.diff 13 fuzzers/corpora/patch_parse/patch_fuzzer-patch.diff 45 package.json 7 src/CMakeLists.txt 331 tests/CMakeLists.txt 56 tests/README.md 29 tests/resources/attr/root_test4.txt 7 tests/resources/attr/sub/sub/subsub.txt 1 tests/resources/attr/sub/subdir_test2.txt 1 tests/resources/attr_index/README.md 1 tests/resources/attr_index/README.txt 1 tests/resources/attr_index/sub/sub/README.md 1 tests/resources/attr_index/sub/sub/README.txt 1 tests/resources/bad_tag.git/refs/dummy-marker.txt 1 tests/resources/binaryunicode/file.txt 1 tests/resources/cherrypick/file1.txt 15 tests/resources/cherrypick/file2.txt 15 tests/resources/cherrypick/file3.txt 15 tests/resources/diff/another.txt 31 tests/resources/diff/readme.txt 27 tests/resources/diff_format_email/dir/renamed.txt 5 tests/resources/diff_format_email/file2.txt 5 tests/resources/diff_format_email/file3.txt 7 tests/resources/duplicate.git/refs/heads/dummy-marker.txt 1 tests/resources/empty_bare.git/objects/info/dummy-marker.txt 1 tests/resources/empty_bare.git/objects/pack/dummy-marker.txt 1 tests/resources/empty_bare.git/refs/heads/dummy-marker.txt 1 tests/resources/empty_bare.git/refs/tags/dummy-marker.txt 1 tests/resources/indexv4/file.txt 1 tests/resources/issue_1397/crlf_file.txt 3 tests/resources/issue_1397/some_other_crlf_file.txt 3 tests/resources/issue_592/a.txt 1 tests/resources/issue_592/c/a.txt 1 tests/resources/issue_592/l.txt 1 tests/resources/issue_592/t/a.txt 1 tests/resources/issue_592/t/b.txt 1 tests/resources/issue_592b/ignored/contained/ignored3.txt 1 tests/resources/issue_592b/ignored/contained/tracked3.txt 1 tests/resources/issue_592b/ignored/ignored2.txt 1 tests/resources/issue_592b/ignored/tracked2.txt 1 tests/resources/issue_592b/ignored1.txt 1 tests/resources/issue_592b/tracked1.txt 1 tests/resources/mailmap/file.txt 10 tests/resources/merge-recursive/asparagus.txt 9 tests/resources/merge-recursive/beef.txt 21 tests/resources/merge-recursive/bouilli.txt 17 tests/resources/merge-recursive/gravy.txt 7 tests/resources/merge-recursive/oyster.txt 12 tests/resources/merge-recursive/veal.txt 18 tests/resources/merge-resolve/added-in-master.txt 1 tests/resources/merge-resolve/automergeable.txt 9 tests/resources/merge-resolve/changed-in-branch.txt 1 tests/resources/merge-resolve/changed-in-master.txt 1 tests/resources/merge-resolve/conflicting.txt 1 tests/resources/merge-resolve/removed-in-branch.txt 1 tests/resources/merge-resolve/unchanged.txt 1 tests/resources/merge-whitespace/test.txt 11 tests/resources/mergedrepo/conflicts-one.txt 5 tests/resources/mergedrepo/conflicts-two.txt 5 tests/resources/mergedrepo/one.txt 10 tests/resources/mergedrepo/two.txt 12 tests/resources/nsecs/a.txt 1 tests/resources/nsecs/b.txt 1 tests/resources/nsecs/c.txt 1 tests/resources/push_src/a.txt 2 tests/resources/push_src/fold/b.txt 1 tests/resources/push_src/foldb.txt 1 tests/resources/push_src/submodule/branch_file.txt 2 tests/resources/push_src/submodule/new.txt 1 tests/resources/rebase-submodule/asparagus.txt 9 tests/resources/rebase-submodule/beef.txt 21 tests/resources/rebase-submodule/bouilli.txt 17 tests/resources/rebase-submodule/gravy.txt 7 tests/resources/rebase-submodule/oyster.txt 12 tests/resources/rebase-submodule/veal.txt 17 tests/resources/rebase/asparagus.txt 9 tests/resources/rebase/beef.txt 21 tests/resources/rebase/bouilli.txt 17 tests/resources/rebase/gravy.txt 7 tests/resources/rebase/oyster.txt 12 tests/resources/rebase/veal.txt 17 tests/resources/renames/ikeepsix.txt 23 tests/resources/renames/sixserving.txt 21 tests/resources/renames/songof7cities.txt 39 tests/resources/renames/untimely.txt 20 tests/resources/revert/file1.txt 14 tests/resources/revert/file2.txt 16 tests/resources/revert/file3.txt 16 tests/resources/revert/file6.txt 14 tests/resources/status/subdir.txt 2 tests/resources/submod2/README.txt 2 tests/resources/submod2/not-submodule/README.txt 1 tests/resources/submod2/not/README.txt 1 tests/resources/submod2/sm_added_and_uncommited/README.txt 2 tests/resources/submod2/sm_changed_file/README.txt 2 tests/resources/submod2/sm_changed_head/README.txt 2 tests/resources/submod2/sm_changed_index/README.txt 2 tests/resources/submod2/sm_changed_untracked_file/README.txt 2 tests/resources/submod2/sm_missing_commits/README.txt 2 tests/resources/submod2/sm_unchanged/README.txt 2 tests/resources/submod2_target/README.txt 2 tests/resources/submod3/EIGHT/README.txt 2 tests/resources/submod3/Five/README.txt 2 tests/resources/submod3/FoUr/README.txt 2 tests/resources/submod3/One/README.txt 2 tests/resources/submod3/TEN/README.txt 2 tests/resources/submod3/TWO/README.txt 2 tests/resources/submod3/nine/README.txt 2 tests/resources/submod3/sEvEn/README.txt 2 tests/resources/submod3/six/README.txt 2 tests/resources/submod3/three/README.txt 2 tests/resources/submodules-worktree-child/branch_file.txt 2 tests/resources/submodules-worktree-child/new.txt 1 tests/resources/submodules/testrepo/branch_file.txt 2 tests/resources/submodules/testrepo/new.txt 1 tests/resources/testrepo-worktree/branch_file.txt 2 tests/resources/testrepo-worktree/link_to_new.txt 1 tests/resources/testrepo-worktree/new.txt 1 tests/resources/testrepo2/new.txt 1 tests/resources/testrepo2/subdir/new.txt 1 tests/resources/testrepo2/subdir/subdir2/new.txt 1 tests/resources/typechanges/README.md 37 tests/valgrind-supp-mac.txt 176