Re: [PATCH] Make die() and error() prefix line with binary name if set
Rocco Rutte <pdmef@gmx.net> writes:
> Now, git_set_appname() can be used to set the name of the binary
> as first call in a binary's main() routine which will be used
> as prefix in die() and error(). If it was not called, no prefix
> will be printed.
I agree with the general direction, but...
Show 8 quoted lines
> @@ -1960,6 +1960,8 @@ int main(int argc, char **argv)
> int read_stdin = 1;
> const char *whitespace_option = NULL;
> + git_set_appname("git-apply");
> +
> for (i = 1; i < argc; i++) {
> const char *arg = argv[i];
> char *end;... what's wrong with your mailer?