git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] filter-branch: added missing warn function

From
Steffen Prohaska <prohaska@zib.de>
Date
Jul 4, 2007, 08:36 UTC
Message-ID
<11835381843502-git-send-email-prohaska@zib.de>

--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>
---
 git-filter-branch.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index a2fcebc..958f28e 100644
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -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
-- 
1.5.2.2.647.g75b2fc
Next: Johannes Schindelin
Message 1 of 2 in “filter-branch: added missing warn function”
  1. filter-branch: added missing warn functionSteffen Prohaska, Jul 4, 2007
  2. Johannes SchindelinJul 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.