author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Fri, 26 Dec 2008 10:01:57 +0000 (11:01 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 27 Dec 2008 03:08:32 +0000 (19:08 -0800) | ||
commit | a583971f15e520c8cb5f9967383903e13c353c86 | |
tree | c1eb95823fe439397eff0da2eb9985718fd955d6 | tree | snapshot |
parent | c569b1fee151e467854ca268997f4f3baaf73564 | commit | diff |
daemon: cleanup: replace loop with if
Replace a loop around an enter_repo() call, which was used to retry
a single time with a different parameter in case the first call fails,
with two calls and an if. This is shorter and cleaner.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Replace a loop around an enter_repo() call, which was used to retry
a single time with a different parameter in case the first call fails,
with two calls and an if. This is shorter and cleaner.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c | diff | blob | history |