Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Binary files .* differ" marker #3

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

bill-rich
Copy link

git -C <repo> log -p -U0 --full-history --all using git v2.35.1 will mark binary files with Binary files <fileA> and <fileB> differ in the log. Since this does not match any of the existing markers, the binary file will be mismarked and the next header will be read incorrectly.

This PR adds the new marker format to correctly identify binary files.

@zricethezav
Copy link

That make sense. Thanks for the PR @bill-rich 😄

@zricethezav zricethezav merged commit 9c699f1 into gitleaks:master Apr 5, 2022
@bill-rich bill-rich deleted the update_binary_marker branch April 6, 2022 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants