git-filter-branch
On success, the exit status is 0. If the filter can't find any commits to rewrite, the exit status is 2. On any other error, the exit status may be any other non-zero value.
0
2