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

Improve script performance by disabling the warning from git filter-branch #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gems
Copy link

@Gems Gems commented Apr 15, 2022

Relates to #32 .

Add FILTER_BRANCH_SQUELCH_WARNING=1 environment variable export to disable git filter-branch warning that affects script performance.

The goit filter-branch command warning adds delay for several seconds to each command execution making the redate command running quite slow.

WARNING: git-filter-branch has a glut of gotchas generating mangled history
	 rewrites.  Hit Ctrl-C before proceeding to abort, then use an
	 alternative filtering tool such as 'git filter-repo'
	 (https://github.com/newren/git-filter-repo/) instead.  See the
	 filter-branch manual page for more details; to squelch this warning,
	 set FILTER_BRANCH_SQUELCH_WARNING=1.
Proceeding with filter-branch...  

…er-branch warning that affects script performance
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.

1 participant