Potential fix for off-by-one error in git log