@matheusbsbs / matheus-bagliano / commits / b5669a0504
Fork 0

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>

Steffen Prohaska committed Jul 4, 2007 at 10:36 UTC b5669a05043e402f2f41636c1b18e7865f41b9c0
1 file changed +4
git-filter-branch.sh
+4
@@ -13,6 +13,10 @@ set -e
13 USAGE="git-filter-branch [-d TEMPDIR] [FILTERS] DESTBRANCH [REV-RANGE]"
14 . git-sh-setup
15
16 +warn () {
17 + echo "$*" >&2
18 +}
19 +
20 map()
21 {
22 # if it was not rewritten, take the original