Code

filter-branch: Fix error message for --prune-empty --commit-filter
authorJacob Helwig <jacob.helwig@gmail.com>
Fri, 12 Feb 2010 02:46:22 +0000 (18:46 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Feb 2010 06:12:36 +0000 (22:12 -0800)
Running filter-branch with --prune-empty and --commit-filter reports:

  "Cannot set --prune-empty and --filter-commit at the same time".

Change it to use the correct option name: --commit-filter

Signed-off-by: Jacob Helwig <jacob.helwig@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh

index cb9d2022cc93f1f371264098828a52e0d6bf1d7c..3dfb2c3382bdeae67463d331dd2a08670faf37a0 100755 (executable)
@@ -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