From: Junio C Hamano Date: Wed, 26 Apr 2006 08:32:37 GMT Subject: Re: [PATCH] Make die() and error() prefix line with binary name if set Message-ID: <7vejzkrb2y.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060425101207.GC5482@bolero.cs.tu-berlin.de> Rocco Rutte 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... > @@ -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?