filter-branch: added missing warn function