From: Junio C Hamano Date: Wed, 09 May 2012 21:50:16 GMT Subject: Re: [PATCH 11/19] bash prompt: use bash builtins to find out current branch Message-ID: <7vaa1hqb1j.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120509214534.GF6958@goldbirke> SZEDER Gábor writes: > 'readlink' is not a bash builtin, so it would need the same number of > fork()s and exec() as 'symbolic-ref'. Of course, the 'readlink' > binary is much smaller than git and has less to do, so it might be a > tiny bit faster, but for this rare corner case it really doesn't > matter. Correct, and by not using it you do not have to worry about systems that does not install the binary.