- Fix issue when diff is empty. - Forgot --stdout in patch generation. - Fix issue when it's the same branch.