# [PATCH] filter-branch: added missing warn function

2 messages from 2007-07-04 to 2007-07-04. Participants: Steffen Prohaska, Johannes Schindelin.
Thread: https://gitlist.dev/t/8854

## Steffen Prohaska, 2007-07-04 08:36

Subject: [PATCH] filter-branch: added missing warn function
Message-ID: <11835381843502-git-send-email-prohaska@zib.de>
URL: https://gitlist.dev/e/11835381843502-git-send-email-prohaska%40zib.de

```
--tag-name-filter may have failed before because
warn is used for reporting but was not available.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
 git-filter-branch.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index a2fcebc..958f28e 100644
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -194,6 +194,10 @@ set -e
 USAGE="git-filter-branch [-d TEMPDIR] [FILTERS] DESTBRANCH [REV-RANGE]"
 . git-sh-setup
 
+warn () {
+        echo "$*" >&2
+}
+
 map()
 {
 	# if it was not rewritten, take the original
-- 
1.5.2.2.647.g75b2fc

```

## Johannes Schindelin, 2007-07-04 11:21

Subject: Re: [PATCH] filter-branch: added missing warn function
Message-ID: <Pine.LNX.4.64.0707041221170.4071@racer.site>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0707041221170.4071%40racer.site
In-Reply-To: <11835381843502-git-send-email-prohaska@zib.de>

```
Hi,

On Wed, 4 Jul 2007, Steffen Prohaska wrote:

> --tag-name-filter may have failed before because
> warn is used for reporting but was not available.

Ooops. Thanks.

Ciao,
Dscho

```
