filter-branch: added missing warn function
authorSteffen Prohaska <prohaska@zib.de>
Wed, 4 Jul 2007 08:36:24 +0000 (10:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jul 2007 19:56:09 +0000 (12:56 -0700)
--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>
git-filter-branch.sh [changed mode: 0755->0644]
old mode 100755 (executable)
new mode 100644 (file)
index c22266b..6cf67df
@@ -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