Skip to content

Commit

Permalink
filter-branch: Fix error message for --prune-empty --commit-filter
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
jhelwig authored and gitster committed Feb 12, 2010
1 parent 4133fd2 commit 5da8171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-filter-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5da8171

Please sign in to comment.