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

[PATCH] git-filter-branch.txt: mention absolute path for scripts in --tree-filter

From
Jari Aalto <jari.aalto@cante.net>
Date
Mar 15, 2010, 08:26 UTC
Message-ID
<87vdcy7zyu.fsf@jondo.cante.net>
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Documentation/git-filter-branch.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
index 020028c..01bd0ad 100644
--- a/Documentation/git-filter-branch.txt
+++ b/Documentation/git-filter-branch.txt
@@ -91,6 +91,9 @@ OPTIONS
 	is then used as-is (new files are auto-added, disappeared files
 	are auto-removed - neither .gitignore files nor any other ignore
 	rules *HAVE ANY EFFECT*!).
++
+In case the <command> is a shell script, provide an absolute path.
+An example: --tree-filter 'sh /path/to/filter.sh'
 
 --index-filter <command>::
 	This is the filter for rewriting the index.  It is similar to the
-- 
1.7.0
Next: Johannes Sixt
Message 1 of 5 in “git-filter-branch.txt: mention absolute path for scripts in --tree-filter”
  1. git-filter-branch.txt: mention absolute path for scripts in --tree-filterJari Aalto, Mar 15, 2010
  2. Johannes SixtMar 15, 2010
  3. Jari AaltoMar 15, 2010
  4. Johannes SixtMar 15, 2010
  5. Junio C HamanoMar 15, 2010

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.