From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 4EDEA1F66F for ; Fri, 6 Nov 2020 09:12:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726281AbgKFJMp (ORCPT ); Fri, 6 Nov 2020 04:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgKFJMp (ORCPT ); Fri, 6 Nov 2020 04:12:45 -0500 X-Greylist: delayed 478 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Nov 2020 01:12:45 PST Received: from black.spass-am-geraet.de (black.spass-am-geraet.de [IPv6:2a01:4f8:210:2018::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AA76C0613CF for ; Fri, 6 Nov 2020 01:12:45 -0800 (PST) Received: by black.spass-am-geraet.de (Postfix, from userid 602) id 42B902390B; Fri, 6 Nov 2020 10:04:43 +0100 (CET) Date: Fri, 6 Nov 2020 10:04:43 +0100 From: Daniel =?iso-8859-1?Q?H=F6pfl?= To: git@vger.kernel.org Subject: Suppressing filter-branch warning Message-ID: <20201106090443.GA20407@black.spass-am-geraet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Hello there, What did you do before the bug happened? (Steps to reproduce your issue) git filter-branch -f --env-filter '' --tag-name-filter cat -- HEAD What did you expect to happen? (Expected behavior) See below (difference). What happened instead? (Actual behavior) When using git filter-branch, the following message is shown: ----------8<----------------------------------------------------- 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. ----------8<----------------------------------------------------- You can suppress this by setting the environment variable shown. What's different between what you expected and what actually happened? Normally, when git introduces this kind of change, there is a git config variable that one can set to suppress it. That way one has fine grade control when to suppress it (one repo only...globally). Anything else you want to add: -/- Please review the rest of the bug report below. You can delete any lines you don't wish to share. [System Info] git version: git version 2.29.0 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh uname: Linux 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 compiler info: gnuc: 8.3 libc info: glibc: 2.28 $SHELL (typically, interactive shell): /bin/bash