Am 25.08.2011 21:14, schrieb Boaz Harrosh: > > git diff has this very annoying miss-fixture where it will state > as hunk header the closest label instead of the function name. > > So I get: > @@ -675,9 +670,23 @@ try_again: > } > > if (flag) { > - foo(); > + bazz(); > } > > > Instead of what I'd like: > @@ -563,12 +563,7 @@ static int write_exec(struct page_collect *pcol) > } > > if (flag) { > - foo(); > + bazz(); > } Cheap trick: change your coding style to place a single space before labels instead of having them start right at the beginning of a line. René -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html