author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 2 Jan 2009 18:07:52 +0000 (19:07 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 2 Jan 2009 21:19:40 +0000 (13:19 -0800) | ||
commit | cca1704897e7fdb182f68d4c48a437c5d7bc5203 | |
tree | 7ccf394b2e80536442703e0013bf0dde86547e08 | tree | snapshot |
parent | 3827210b91a7d363ea67bcf0b9c6ee1c91d2f3c5 | commit | diff |
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>
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 | diff | blob | history |