Ramkumar Ramachandra wrote: [...] > + if (create_seq_dir() < 0) { > + advise(_("A cherry-pick or revert is in progress.")); > + advise(_("Use --reset to forget about it")); > + return -1; > + } The usual formula is: error(... description of error ...) if (advice_foo_bar [i.e., if the user is not tired of the advice already]) { advise(... how to recover from error ...); advise(... more lines ...); } -- 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