Re: [PATCH] Make die() and error() prefix line with binary name if set
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:24
Rocco Rutte [off-list ref] 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...
quoted hunk
@@ -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?