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 <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Steffen Prohaska 2007-07-04 10:36:24 +02:00 committed by Junio C Hamano
parent 49aba0bb3a
commit b5669a0504

4
git-filter-branch.sh Executable file → Normal file
View File

@ -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