Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
This report summarizes scanner evidence for git/git, a C project with 64,089 GitHub stars. SynthScan examined 827,760 lines of code across 2407 source files, recording 1109 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 991 finding(s).
Are imports declared and package/API names verified? 33 finding(s).
Are wrappers, guards, and repeated structures necessary? 90 finding(s).
Which changes need focused human review? 1109 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1109 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pack-revindex.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | replay.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | http-fetch.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | http-push.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | http-push.c | 21 | #include "packfile.h" | COMMENT |
| LOW | http-push.c | 41 | #define XML_STATUS_ERROR 0 | COMMENT |
| LOW | http-push.c | 61 | #define DAV_CTX_LOCKENTRY ".multistatus.response.propstat.prop.supportedlock.lockentry" | COMMENT |
| LOW | merge-ll.c | 1 | /* | COMMENT |
| LOW | diff.c | 1 | /* | COMMENT |
| LOW | diff.c | 21 | #include "hex.h" | COMMENT |
| LOW | diff.c | 41 | #include "promisor-remote.h" | COMMENT |
| LOW | http-walker.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | pack-objects.h | 1 | #ifndef PACK_OBJECTS_H | COMMENT |
| LOW | wildmatch.c | 21 | /* What character marks an inverted character class? */ | COMMENT |
| LOW | wildmatch.c | 41 | #ifdef isgraph | COMMENT |
| LOW | protocol-caps.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | trailer.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | reflog.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | exec-cmd.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | blame.h | 1 | #ifndef BLAME_H | COMMENT |
| LOW | remote.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | add-patch.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | revision.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | revision.c | 21 | #include "repository.h" | COMMENT |
| LOW | revision.c | 41 | #include "trace2.h" | COMMENT |
| LOW | transport.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | transport.c | 21 | #include "url.h" | COMMENT |
| LOW | upload-pack.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | upload-pack.c | 21 | #include "connect.h" | COMMENT |
| LOW | object.c | 1 | #define DISABLE_SIGN_COMPARE_WARNINGS | COMMENT |
| LOW | parse-options-cb.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | notes-merge.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | list-objects-filter.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | bisect.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | gpg-interface.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | notes.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | notes.c | 61 | struct object_id oid; | COMMENT |
| LOW | cache-tree.c | 1 | #define DISABLE_SIGN_COMPARE_WARNINGS | COMMENT |
| LOW | bloom.c | 1 | #define DISABLE_SIGN_COMPARE_WARNINGS | COMMENT |
| LOW | sideband.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | serve.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | base85.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | pack-write.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | commit-reach.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | refspec.c | 1 | #define DISABLE_SIGN_COMPARE_WARNINGS | COMMENT |
| LOW | credential.c | 1 | #define DISABLE_SIGN_COMPARE_WARNINGS | COMMENT |
| LOW | archive-zip.c | 1 | /* | COMMENT |
| LOW | merge-ort.c | 21 | #include "merge-ort.h" | COMMENT |
| LOW | merge-ort.c | 41 | #include "object-file.h" | COMMENT |
| LOW | rerere.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | grep.h | 1 | #ifndef GREP_H | COMMENT |
| LOW | ref-filter.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | ref-filter.c | 21 | #include "ident.h" | COMMENT |
| LOW | fsmonitor.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | name-hash.c | 1 | /* | COMMENT |
| LOW | fsck.c | 1 | #include "git-compat-util.h" | COMMENT |
| LOW | tree-walk.c | 1 | #define USE_THE_REPOSITORY_VARIABLE | COMMENT |
| LOW | git-web--browse.sh | 1 | #!/bin/sh | COMMENT |
| LOW | banned.h | 1 | #ifndef BANNED_H | COMMENT |
| LOW | banned.h | 21 | #undef strtok | COMMENT |
| 737 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | git-request-pull.sh | 4 | # This file is licensed under the GPL v2, or a later version | COMMENT |
| MEDIUM | git-web--browse.sh | 9 | # This file is heavily stolen from git-mergetool.sh, by | COMMENT |
| MEDIUM | git-web--browse.sh | 14 | # This file is licensed under the GPL v2, or a later version | COMMENT |
| MEDIUM | git-mergetool.sh | 8 | # This file is licensed under the GPL v2, or a later version | COMMENT |
| MEDIUM | git-mergetool.sh | 328 | # Create a parent directory to handle delete/delete conflicts | COMMENT |
| MEDIUM | git-merge-one-file.sh | 140 | # Create the working tree file, using "our tree" version from the | COMMENT |
| MEDIUM | git-filter-branch.sh | 11 | # The following functions will also be available in the commit filter: | COMMENT |
| MEDIUM | git-sh-setup.sh | 265 | # Create a pick-script as above and feed it to sed. Stdout is suitable for | COMMENT |
| MEDIUM | git-p4.py | 2500 | # Create the label - use the same view as the client spec we are using | COMMENT |
| MEDIUM | git-p4.py | 4259 | # Create a symbolic ref p4/HEAD pointing to p4/<branch> to allow | COMMENT |
| MEDIUM | t/t7700-repack.sh | 679 | # Create a kept pack-file | COMMENT |
| MEDIUM | t/t7700-repack.sh | 687 | # Create a non-kept pack-file | COMMENT |
| MEDIUM | t/t9817-git-p4-exclude.sh | 11 | # Create a repo with the structure: | COMMENT |
| MEDIUM | t/t7300-clean.sh | 696 | # This file is ignored by a .gitignore rule in the outer repo | COMMENT |
| MEDIUM | t/t4211-line-log.sh | 281 | # Create the following linear history, where each commit does what its | COMMENT |
| MEDIUM | t/t1304-default-acl.sh | 8 | # Create the test repo with restrictive umask | COMMENT |
| MEDIUM | t/t3207-branch-submodule.sh | 123 | # Create a new branch-b branch with start-point=branch-a | COMMENT |
| MEDIUM | t/t1414-reflog-walk.sh | 122 | # Create a situation where the reflog and ref database disagree about the latest | COMMENT |
| MEDIUM | t/t7426-submodule-get-default-remote.sh | 13 | # Create a repository to be used as submodule | COMMENT |
| MEDIUM | t/t7426-submodule-get-default-remote.sh | 17 | # Create main repository | COMMENT |
| MEDIUM | t/t7426-submodule-get-default-remote.sh | 180 | # Create a submodule directory manually without remotes | COMMENT |
| MEDIUM | t/t6700-tree-depth.sh | 18 | # Create a tag <name> containing a file whose path has depth <depth>. | COMMENT |
| MEDIUM | t/t7706-repack-drop-filtered.sh | 172 | # Create a conflicting merge so wt_status reports it. | COMMENT |
| MEDIUM | t/t7706-repack-drop-filtered.sh | 191 | # Create a large blob, add it to the index and make it a promisor object | COMMENT |
| MEDIUM | t/t9803-git-p4-shell-metachars.sh | 60 | # Create a branch with a shell metachar in its name | COMMENT |
| MEDIUM | t/lib-submodule-update.sh | 1 | # Create a submodule layout used for all tests below. | COMMENT |
| MEDIUM | t/t7611-merge-abort.sh | 31 | # Create the above repo | COMMENT |
| MEDIUM | t/t5319-multi-pack-index.sh | 1377 | # Create the bitmap via the MIDX. | COMMENT |
| MEDIUM | t/t6416-recursive-corner-cases.sh | 1585 | # Create a and b from virtual merge base X | COMMENT |
| MEDIUM | t/t6012-rev-list-simplify.sh | 21 | # Create a test repo with an interesting commit graph: | COMMENT |
| MEDIUM | t/t6012-rev-list-simplify.sh | 169 | # Create a new history to demonstrate the value of --show-pulls | COMMENT |
| MEDIUM | t/t9801-git-p4-branch.sh | 179 | ## Create a simple branch structure in P4 depot. | COMMENT |
| MEDIUM | t/t9801-git-p4-branch.sh | 242 | # Create a complex branch structure in P4 depot to check if they are correctly | COMMENT |
| MEDIUM | t/t9801-git-p4-branch.sh | 374 | # Create a branch by integrating a single file | COMMENT |
| MEDIUM | t/t3910-mac-os-precompose.sh | 29 | #Create a string with 255 bytes (decomposed) | COMMENT |
| MEDIUM | t/t3910-mac-os-precompose.sh | 34 | #Create a string with 254 bytes (precomposed) | COMMENT |
| MEDIUM | t/t9350-fast-export.sh | 976 | # Create a signed SHA-256 commit | COMMENT |
| MEDIUM | t/t9350-fast-export.sh | 987 | # Create the corresponding SHA-1 commit | COMMENT |
| MEDIUM | t/t8004-blame-with-conflicts.sh | 12 | # Create the old file | COMMENT |
| MEDIUM | t/t6112-rev-list-filters-objects.sh | 312 | # Create a spare repo because we will be deleting objects from this one. | COMMENT |
| MEDIUM | t/t5314-pack-cycle-detection.sh | 55 | # Create a pack containing the tree $1 and blob $1:file, with | COMMENT |
| MEDIUM | t/t1700-split-index.sh | 19 | # Create a file named as $1 with content read from stdin. | COMMENT |
| MEDIUM | t/t7703-repack-geometric.sh | 328 | # Create a shared repository that will serve as the alternate object | COMMENT |
| MEDIUM | t/t7703-repack-geometric.sh | 360 | # Create a repository with a single packfile that acts as alternate | COMMENT |
| MEDIUM | t/t7703-repack-geometric.sh | 366 | # Create a second repository linked to the first one and perform a | COMMENT |
| MEDIUM | t/t7703-repack-geometric.sh | 383 | # Create a repository with a single packfile that acts as alternate | COMMENT |
| MEDIUM | t/t9821-git-p4-path-variations.sh | 50 | # This method is used instead of "test -f" to ensure the case is | COMMENT |
| MEDIUM | t/t9821-git-p4-path-variations.sh | 72 | # This method is used instead of "test -f" to ensure the case is | COMMENT |
| MEDIUM | t/t5310-pack-bitmaps.sh | 317 | # Create a state of history with these properties: | COMMENT |
| MEDIUM | t/t5310-pack-bitmaps.sh | 481 | # Create the bitmap. | COMMENT |
| MEDIUM | t/t6600-test-reach.sh | 388 | # Create a commit outside all saved commit-graph files so it always | COMMENT |
| MEDIUM | t/t7406-submodule-update.sh | 1171 | # Create a commit in each repo, starting with bottom | COMMENT |
| MEDIUM | t/t7406-submodule-update.sh | 1203 | # Create a commit in each repo, starting with bottom | COMMENT |
| MEDIUM | t/t7406-submodule-update.sh | 1232 | # Create an upstream commit in each repo, starting with bottom | COMMENT |
| MEDIUM | t/t7406-submodule-update.sh | 1245 | # Create a downstream conflict | COMMENT |
| MEDIUM | t/t7800-difftool.sh | 40 | # Create a file on main and change it on branch | COMMENT |
| MEDIUM | t/t7800-difftool.sh | 417 | # Create a second file on main and a different version on branch | COMMENT |
| MEDIUM | t/t7800-difftool.sh | 814 | # Create a file called "file-a" with a symlink pointing to it. | COMMENT |
| MEDIUM | t/t7800-difftool.sh | 822 | # Create a file called "file-b" and point the symlink to it. | COMMENT |
| MEDIUM | t/t9800-git-p4-basic.sh | 62 | # Create a git repo by hand. Add a commit so that HEAD is valid. | COMMENT |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | command-list.txt | 2 | # --------------------------- | COMMENT |
| MEDIUM | perl/FromCPAN/Mail/Address.pm | 138 | #------------ | COMMENT |
| MEDIUM | perl/FromCPAN/Mail/Address.pm | 187 | #------------ | COMMENT |
| MEDIUM | perl/FromCPAN/Mail/Address.pm | 239 | #------------ | COMMENT |
| MEDIUM | perl/Git/SVN.pm | 734 | # ------------------------- | COMMENT |
| MEDIUM | perl/Git/SVN.pm | 1388 | # -------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 18 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 54 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 104 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 136 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 215 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 278 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 325 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 380 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 403 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 428 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 457 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 505 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 520 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 548 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 571 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 593 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 652 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 691 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 700 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 736 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 762 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 793 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9500-gitweb-standalone-no-errors.sh | 801 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t5324-split-commit-graph.sh | 553 | # ------------------------ | COMMENT |
| MEDIUM | t/t5324-split-commit-graph.sh | 599 | # ------------------------ | COMMENT |
| MEDIUM | t/t5324-split-commit-graph.sh | 601 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 630 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 632 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 634 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 641 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 643 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 672 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 674 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 676 | # ------------------------ | COMMENT |
| MEDIUM⚡ | t/t5324-split-commit-graph.sh | 683 | # ------------------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 76 | #------------------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 78 | #------------------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 244 | #-------------- | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 246 | #-------------- | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 306 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 308 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 496 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 498 | #------------ | COMMENT |
| MEDIUM⚡ | t/t9400-git-cvsserver-server.sh | 528 | #------------ | COMMENT |
| MEDIUM⚡ | t/t9400-git-cvsserver-server.sh | 530 | #------------ | COMMENT |
| MEDIUM⚡ | t/t9400-git-cvsserver-server.sh | 539 | #------------ | COMMENT |
| MEDIUM⚡ | t/t9400-git-cvsserver-server.sh | 541 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 609 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 611 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 622 | #------------ | COMMENT |
| MEDIUM | t/t9400-git-cvsserver-server.sh | 624 | #------------ | COMMENT |
| MEDIUM | t/t9501-gitweb-standalone-http-status.sh | 25 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9501-gitweb-standalone-http-status.sh | 87 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | t/t9501-gitweb-standalone-http-status.sh | 125 | # ---------------------------------------------------------------------- | COMMENT |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | compat/vcbuild/scripts/lib.pl | 5 | # This is a wrapper to facilitate the compilation of Git with MSVC | COMMENT |
| MEDIUM | compat/vcbuild/scripts/clink.pl | 5 | # This is a wrapper to facilitate the compilation of Git with MSVC | COMMENT |
| MEDIUM | t/t5303-pack-corruption-resilience.sh | 11 | # to ensure good code path coverage, and to facilitate direct alteration | COMMENT |
| LOW | t/lib-bitmap.sh | 10 | # counterpart. You can't just use test_cmp for this, because the two produce | COMMENT |
| MEDIUM | t/lib-gpg.sh | 195 | # Definitely not yet valid / expired timestamps | COMMENT |
| LOW | t/t4202-log.sh | 1072 | # Do not just use a --format without %d here; we want to | COMMENT |
| MEDIUM | t/t1092-sparse-checkout-compatibility.sh | 881 | # The `--ignore-skip-worktree-entries` flag must be used in conjunction with | COMMENT |
| LOW | t/t9806-git-p4-options.sh | 212 | # XXX: should clone/sync just use the client spec exactly, rather | COMMENT |
| MEDIUM | t/lib-subtest.sh | 36 | # Pretend we're not running under a test harness, whether we | COMMENT |
| MEDIUM | t/t7527-builtin-fsmonitor.sh | 177 | # make the test a little more robust during CI testing. | COMMENT |
| LOW | t/test-lib-functions.sh | 23 | # interpreted if we just set $EDITOR directly, so do a little dance with | COMMENT |
| LOW | t/t2020-checkout-detach.sh | 333 | # The user can just use any kind of quoting (including none). | COMMENT |
| LOW | t/t5318-commit-graph.sh | 882 | # wreck them all. But we cannot just set them all to 0xFFFFFFFF or | COMMENT |
| MEDIUM | t/t0212-trace2-event.sh | 35 | # harness can contaminate our output. | COMMENT |
| MEDIUM | t/t0210-trace2-normal.sh | 32 | # because hidden git and test-tool commands run by the test harness | COMMENT |
| MEDIUM | t/t0000-basic.sh | 65 | # Test harness | COMMENT |
| MEDIUM | t/t5813-proto-disable-ssh.sh | 23 | # fake wrapper actually _can_ handle this case, but it's more robust to | COMMENT |
| MEDIUM | t/t0211-trace2-perf.sh | 39 | # harness can contaminate our output. | COMMENT |
| MEDIUM | t/perf/p7519-fsmonitor.sh | 12 | # By default, the performance test will utilize the Watchman file system | COMMENT |
| LOW | contrib/completion/git-prompt.sh | 420 | # simply return early if the prompt should not | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/t4015-diff-whitespace.sh | 1755 | Lorem Ipsum is simply dummy text of the printing and typesetting industry. | CODE |
| LOW | t/t4015-diff-whitespace.sh | 1760 | simply Lorem Ipsum dummy is text of the typesetting and printing industry. | CODE |
| LOW | t/for-each-ref-tests.sh | 1362 | GIT_COMMITTER_EMAIL="user@example.com" \ | CODE |
| LOW | t/t9001-send-email.sh | 2040 | echo "alias sbd somebody@example.org" >.mailrc && | CODE |
| LOW | t/t9001-send-email.sh | 2054 | echo "alias sbd someone@example.org" >"$HOME/.mailrc" && | CODE |
| LOW | t/t9001-send-email.sh | 2337 | echo "alias sbd someone@example.org" >.mailrc && | CODE |
| LOW | t/t9001-send-email.sh | 2351 | echo "alias sbd someone@example.org" >.mailrc && | CODE |
| LOW | t/t9001-send-email.sh | 2365 | echo "alias sbd someone@example.org" >.mailrc && | CODE |
| LOW | t/t9001-send-email.sh | 2381 | echo "alias sbd someone@example.org" >.mailrc && | CODE |
| LOW⚡ | t/t4150-am.sh | 14 | Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy | CODE |
| LOW⚡ | t/t4150-am.sh | 14 | Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy | CODE |
| LOW⚡ | t/t4150-am.sh | 17 | kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem | CODE |
| LOW⚡ | t/t4150-am.sh | 17 | kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem | CODE |
| LOW⚡ | t/t4150-am.sh | 18 | ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod | CODE |
| LOW | t/t4150-am.sh | 32 | Lorem ipsum dolor sit amet, | CODE |
| LOW | t/t4150-am.sh | 32 | Lorem ipsum dolor sit amet, | CODE |
| LOW | t/unit-tests/u-reftable-table.c | 226 | .email = (char *) "user@example.com", | CODE |
| LOW⚡ | t/t4051/appended2.c | 4 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 4 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 8 | * gubergren, no sea takimata sanctus est Lorem ipsum dolor | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 11 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 11 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 15 | * gubergren, no sea takimata sanctus est Lorem ipsum dolor | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 18 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 18 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 22 | * gubergren, no sea takimata sanctus est Lorem ipsum dolor | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 25 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 25 | * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, | COMMENT |
| LOW⚡ | t/t4051/appended2.c | 29 | * gubergren, no sea takimata sanctus est Lorem ipsum dolor | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git-mergetool--lib.sh | 509 | # Check if a merge tool has been configured | COMMENT |
| LOW | git-gui/git-gui.sh | 2172 | # Open file relative to the working tree by the default associated app. | COMMENT |
| LOW | ci/print-test-failures.sh | 3 | # Print output of failing tests | COMMENT |
| LOW | perl/Git.pm | 1120 | # Check if $credential is valid prior to writing anything | COMMENT |
| LOW | perl/Git.pm | 1619 | # Check if the command id is something reasonable. | COMMENT |
| LOW | perl/Git/SVN/Editor.pm | 252 | # Check if the pattern matches the file name. | COMMENT |
| LOW | t/t5319-multi-pack-index.sh | 615 | # Set GIT_TEST_MULTI_PACK_INDEX to 0 to avoid writing a new | COMMENT |
| LOW | t/lib-gpg.sh | 168 | # Verify if at least one key and ssh-keygen works as expected | COMMENT |
| LOW | t/lib-gpg.sh | 178 | # Check if ssh-keygen has a verify-time option by passing an invalid date to it | COMMENT |
| LOW | t/t9801-git-p4-branch.sh | 383 | # Check if git p4 creates a new branch containing a single file, | COMMENT |
| LOW | t/test-lib-functions.sh | 1015 | # Check if the directory exists and is empty as expected, barf otherwise. | COMMENT |
| LOW | t/test-lib-functions.sh | 1027 | # Check if the file exists and has a size greater than zero | COMMENT |
| LOW | t/test-lib-functions.sh | 1357 | # Check if the file expected to be empty is indeed empty, and barfs | COMMENT |
| LOW | t/test-lib-functions.sh | 1436 | # Print the message body of a commit | COMMENT |
| LOW | t/test-lib-functions.sh | 2056 | # Set mtime to a fixed "magic" timestamp in mid February 2009, before we | COMMENT |
| LOW | t/t5584-http-429-retry.sh | 26 | # Set maxRetries to 0 (disabled) | COMMENT |
| LOW | t/t3650-replay-basics.sh | 401 | # Set config to update but use --ref-action=print | COMMENT |
| LOW⚡ | t/lib-httpd/http-429.sh | 35 | # Check if this is the first call (no state directory exists), or if | COMMENT |
| LOW⚡ | t/lib-httpd/http-429.sh | 41 | # Set PATH_INFO to just the repo path (without retry-after value) | COMMENT |
| LOW | t/lib-httpd/http-429.sh | 77 | # Check if it's a number | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | git-p4.py | 64 | except: | CODE |
| HIGH | git-p4.py | 913 | except EOFError: | CODE |
| HIGH | git-p4.py | 2141 | except UnicodeDecodeError: | CODE |
| HIGH | t/unit-tests/clar/generate.py | 190 | except (IOError, ValueError): | CODE |
| HIGH | t/unit-tests/clar/generate.py | 247 | except OSError: | CODE |
| HIGH | t/unit-tests/clar/generate.py | 249 | except IOError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | diff.c | 1002 | * however we need to check if the indent changes of the current line | COMMENT |
| LOW | dir.c | 1974 | * also true, in which case we need to check if it contains any | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 491 | # Step 0: start with a clean index | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 494 | # Step 1: remove file2, but only in the index (no change to worktree) | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 497 | # Step 2: reset index & leave worktree unchanged from HEAD | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 500 | # Step 3: verify whether the index is refreshed by checking whether | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git-p4.py | 253 | CODE | |
| LOW | git-p4.py | 472 | CODE | |
| LOW | git-p4.py | 861 | CODE | |
| LOW | git-p4.py | 948 | CODE | |
| LOW | git-p4.py | 1180 | CODE | |
| LOW | git-p4.py | 1216 | CODE | |
| LOW | git-p4.py | 1284 | CODE | |
| LOW | git-p4.py | 4565 | CODE | |
| LOW | git-p4.py | 1873 | CODE | |
| LOW | git-p4.py | 2009 | CODE | |
| LOW | git-p4.py | 2115 | CODE | |
| LOW | git-p4.py | 2149 | CODE | |
| LOW | git-p4.py | 2453 | CODE | |
| LOW | git-p4.py | 2526 | CODE | |
| LOW | git-p4.py | 3032 | CODE | |
| LOW | git-p4.py | 3064 | CODE | |
| LOW | git-p4.py | 3448 | CODE | |
| LOW | git-p4.py | 3568 | CODE | |
| LOW | git-p4.py | 3647 | CODE | |
| LOW | git-p4.py | 3806 | CODE | |
| LOW | git-p4.py | 3951 | CODE | |
| LOW | git-p4.py | 4046 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/test-lib.sh | 118 | # make sure to not overwrite that value, and thus we save it into | COMMENT |
| LOW | t/t0008-ignores.sh | 766 | # shell, and then echo to the fd. We make sure to close it at | COMMENT |
| LOW | t/t9300-fast-import.sh | 3601 | # To make sure you're observing the side effects of checkpoint *before* | COMMENT |
| LOW | t/t0012-help.sh | 28 | # make sure to exercise these code paths, the output is a bit tricky | COMMENT |
| MEDIUM | contrib/completion/git-completion.bash | 27 | # If you use complex aliases of form '!f() { ... }; f', you can use the null | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | t/t7102-reset.sh | 491 | # Step 0: start with a clean index | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 494 | # Step 1: remove file2, but only in the index (no change to worktree) | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 497 | # Step 2: reset index & leave worktree unchanged from HEAD | COMMENT |
| LOW⚡ | t/t7102-reset.sh | 500 | # Step 3: verify whether the index is refreshed by checking whether | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | contrib/completion/git-completion.bash | 1699 | # logic, as requested by the user. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/lib-httpd.sh | 5 | # Usage: | COMMENT |
| LOW | t/lib-git-daemon.sh | 4 | # Usage: | COMMENT |
| LOW | t/t7519-status-fsmonitor.sh | 424 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git-instaweb.sh | 657 | class GitWebRequestHandler(CGIHTTPRequestHandler): | CODE |
| LOW | git-p4.py | 84 | def format_size_human_readable(num): | CODE |
| LOW | git-p4.py | 253 | def metadata_stream_to_writable_bytes(s): | CODE |
| LOW | git-p4.py | 2845 | def update_client_spec_path_cache(self, files): | CODE |
| LOW | git-p4.py | 1849 | def separate_jobs_from_description(self, message): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git-p4.py | 41 | CODE | |
| LOW | git-p4.py | 43 | CODE | |
| LOW | git-p4.py | 55 | CODE | |
| LOW | t/unit-tests/clar/generate.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git-p4.py | 273 | except Exception as exc: | CODE |
| LOW | git-p4.py | 2683 | except Exception as e: | CODE |
| LOW | git-p4.py | 3181 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gitweb/static/js/blame_incremental.js | 517 | function processData(unprocessed, nextReadPos) { | CODE |