git wrapper: Make while loop more reader-friendly
commitcca1704897e7fdb182f68d4c48a437c5d7bc5203
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 2 Jan 2009 18:07:52 +0000 (2 19:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Jan 2009 21:19:40 +0000 (2 13:19 -0800)
tree7ccf394b2e80536442703e0013bf0dde86547e08
parent3827210b91a7d363ea67bcf0b9c6ee1c91d2f3c5
git wrapper: Make while loop more reader-friendly

It is not a good practice to prefer performance over readability in
something as performance uncritical as finding the trailing slash
of argv[0].

So avoid head-scratching by making the loop user-readable, and not
hyper-performance-optimized.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c