It appears that this is no longer necessary with git_wrapper_background_command.