From: Steffen Prohaska Date: Wed, 4 Jul 2007 08:36:24 +0000 (+0200) Subject: filter-branch: added missing warn function X-Git-Tag: v1.5.3-rc1~81 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b5669a05043e402f2f41636c1b18e7865f41b9c0;p=git-core%2Fgit.git filter-branch: added missing warn function --tag-name-filter may have failed before because warn is used for reporting but was not available. Signed-off-by: Steffen Prohaska Signed-off-by: Junio C Hamano --- diff --git a/git-filter-branch.sh b/git-filter-branch.sh old mode 100755 new mode 100644 index c22266b48..6cf67df5d --- a/git-filter-branch.sh +++ b/git-filter-branch.sh @@ -13,6 +13,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