aboutsummaryrefslogtreecommitdiff
path: root/git-filter-branch.sh
diff options
context:
space:
mode:
authorSteffen Prohaska <prohaska@zib.de>2007-07-04 10:36:24 +0200
committerJunio C Hamano <gitster@pobox.com>2007-07-04 12:56:09 -0700
commitb5669a05043e402f2f41636c1b18e7865f41b9c0 (patch)
tree99fa30974b8761e64d8790c78f3ad7be6154f5c4 /git-filter-branch.sh
parent49aba0bb3a85a4364cf3f0f73b3b6ddf98f7e037 (diff)
downloadgit-b5669a05043e402f2f41636c1b18e7865f41b9c0.tar.gz
git-b5669a05043e402f2f41636c1b18e7865f41b9c0.tar.xz
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>
Diffstat (limited to 'git-filter-branch.sh')
-rw-r--r--[-rwxr-xr-x]git-filter-branch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index c22266b48..6cf67df5d 100755..100644
--- 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