Re: [PATCH] git_progname
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 26, 2005, 06:07 UTC
- Message-ID
- <7v1x28bylq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20051025133208.GC30889@pasky.or.cz>
Petr Baudis <pasky@suse.cz> 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().