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

[PATCH] filter-branch: Fix error message for --prune-empty --commit-filter

From
Jacob Helwig <jacob.helwig@gmail.com>
Date
Feb 8, 2010, 02:38 UTC
Message-ID
<1265596681-10561-1-git-send-email-jacob.helwig@gmail.com>
In-Reply-To
<1265596587-9949-1-git-send-email-jacob.helwig@gmail.com>

Running filter-branch with --prune-empty and --commit-filter, no longer incorrectly reports that you had tried to run '--filter-commit' in combination with '--prune-empty'.

Signed-off-by: Jacob Helwig <jacob.helwig@gmail.com>
---
Sorry for the re-send.  Forgot the SOB...
 git-filter-branch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index e95845c..88fb0f0 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -207,7 +207,7 @@ t,)
 ,*)
 	;;
 *)
-	die "Cannot set --prune-empty and --filter-commit at the same time"
+	die "Cannot set --prune-empty and --commit-filter at the same time"
 esac
 
 case "$force" in
-- 
1.7.0.rc1.50.g8424
Previous: Jacob HelwigNext: Michael J Gruber
Message 2 of 4 in “filter-branch: Fix error message for --prune-empty --commit-filter”
  1. filter-branch: Fix error message for --prune-empty --commit-filterJacob Helwig, Feb 8, 2010
  2. filter-branch: Fix error message for --prune-empty --commit-filterJacob Helwig, Feb 8, 2010
  3. Michael J GruberFeb 8, 2010
  4. filter-branch: Fix error message for --prune-empty --commit-filterJacob Helwig, Feb 12, 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.