Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter Godot WakaTime plugin from project.godot.
- When in the course of client projects, it becomes necessary for one developer to track the time spent thereof, without unnecessary additions to the remote repository, the aforementioned must resort to dire machinations that require much hackery to compel git to robustly ignore all such events, for all time, under all circumstances. - Use a global git clean filter to ignore the Godot WakaTime plugin from project.godot for all projects globally. - Additionally, symlink new git/git-filters/clean directory to ~/.git-filters/clean to provide a location for git clean filter scripts that can easily be specified in ~/.gitconfig using a relative path, without having to depend on the dotfiles project location. Completely filter the following git diff from project.godot: +[editor_plugins] + +enabled=PoolStringArray( "res://addons/wakatime/plugin.cfg" ) + Completely Filter the following diff from project.godot: [editor_plugins] -enabled=PoolStringArray( "res://addons/some-other-addon/plugin.cfg" ) +enabled=PoolStringArray( "res://addons/some-other-addon/plugin.cfg", "res://addons/wakatime/plugin.cfg" ) Partially filter the following diff in project.godot from: [editor_plugins] -enabled=PoolStringArray( "res://addons/some-other-addon-1/plugin.cfg", "res://addons/wakatime/plugin.cfg" ) +enabled=PoolStringArray( "res://addons/some-other-addon-1/plugin.cfg", "res://addons/wakatime/plugin.cfg", "res://addons/some-other-addon-2/plugin.cfg" ) to: [editor_plugins] -enabled=PoolStringArray( "res://addons/some-other-addon-1/plugin.cfg" ) +enabled=PoolStringArray( "res://addons/some-other-addon-1/plugin.cfg", "res://addons/some-other-addon-2/plugin.cfg" ) Partially filter the following diff in project.godot from: [editor_plugins] -enabled=PoolStringArray( "res://addons/wakatime/plugin.cfg" ) +enabled=PoolStringArray( "res://addons/wakatime/plugin.cfg", "res://addons/some-other-addon-1/plugin.cfg" ) to: +[editor_plugins] + +enabled=PoolStringArray( "res://addons/some-other-addon-1/plugin.cfg" ) +
- Loading branch information