Skip to contentSkip to conversation

filter-branch: added missing warn function

PATCH In review Steffen Prohaska 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 filter-branch: added missing warn function

--tag-name-filter may have failed before because
warn is used for reporting but was not available.

---
 git-filter-branch.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
git-filter-branch.sh +4 -0
index a2fcebc..958f28e 100644
@@ -194,6 +194,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
Signature · 1 line
1.5.2.2.647.g75b2fc
#1 lore raw

Hi,

Quoted 2 lines · Steffen Prohaska

--tag-name-filter may have failed before because
warn is used for reporting but was not available.

Ooops. Thanks.

Ciao,
Dscho