gitcmds: do not pass the context to diff_helper()