filter-branch: added missing warn function
[gitweb.git] / git-filter-branch.sh
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