Skip to content

Clarification on Committer in JSON Lines output: #129

Answered by bradlarsen
tpat13 asked this question in Q&A
Discussion options

You must be logged in to vote

@tpat13 good questions. The committer_name and author_name correspond to the commit with ID commit_id.

When Nosey Parker finds a match in a Git repository, it computes the first commit in which the matching content was introduced. So it should be the person who committed the secret, not the person who last touched that file.

The distinction between author_name and committer_name comes from Git, which represents those two things separately: https://stackoverflow.com/questions/6755824/what-is-the-difference-between-author-and-committer-in-git. The author_name is probably the more relevant field as far as who actually wrote the code. Though if you were thinking of some workflow where Nosey P…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tpat13
Comment options

Answer selected by tpat13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants