From: Junio C Hamano Date: Wed, 26 Oct 2005 06:07:13 GMT Subject: Re: [PATCH] git_progname Message-ID: <7v1x28bylq.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20051025133208.GC30889@pasky.or.cz> Petr Baudis writes: > No, I didn't mean the oneliner at all, actually - just the notion that > you stealthily hijack main(). We'll see what Junio thinks about it. ;) May I just say "yuck"? I think what you suggested makes the most sense. >> So I'd say just add setup_progname("foo") at the start of your main().