Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Prohaska <prohaska@zib.de>2007-07-04 12:36:24 +0400
committerJunio C Hamano <gitster@pobox.com>2007-07-04 23:56:09 +0400
commitb5669a05043e402f2f41636c1b18e7865f41b9c0 (patch)
tree99fa30974b8761e64d8790c78f3ad7be6154f5c4 /git-filter-branch.sh
parent49aba0bb3a85a4364cf3f0f73b3b6ddf98f7e037 (diff)
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 c22266b486..6cf67df5d6 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