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

Privacy options #140

Closed
wants to merge 5 commits into from
Closed

Privacy options #140

wants to merge 5 commits into from

Conversation

javabrett
Copy link
Contributor

Fixed #139. See commit-log and issue for details. Second-commit reactivates the echo of config.describe which was commented-out and then removed at some point.

If this is pulled, we could add some sterner output warnings about inactive privacy options if the user is performing (non-bulk) operations that could be construed to be privacy-related.

Required a test to be updated

…ivation with new options:

* --no-formerly-log-text default absent (feature is active) to prevent [formerly ...] hashes written when IDs are substituted in commit-log data
* --no-formerly-commit-footer default absent (feature is active) to prevent Former-commit-id: commit-log footer from being appended.
* --no-replace-blobs default absent (feature is active) to disable a new feature, whereby deleted files by-name can be replaced with <filename>.REMOVED.git-id files, the same as by-bulk files.
* --private default absent, activates all current (and future) privacy options simultaneously, disabling the above features. Equivalent to --no-formerly-log-text --no-formerly-commit-footer --no-replace-blobs

Files deleted by --delete-files will now by-default leave a replacement marker blob (<filename>.REMOVED.git-id) unless --no-replace-blobs is specified.
@hoijui
Copy link

hoijui commented Apr 27, 2020

I just tested it, and it worked great.. that's how it should be, please merge!
.. and thanks a lot for it, @javabrett ! :-)

@javabrett javabrett closed this Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Break --private into multiple privacy options and make them default false
2 participants