Fixed line 1 shown as 0 for the first commit