diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2008-12-26 10:01:57 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-27 03:08:32 (GMT) |
commit | a583971f15e520c8cb5f9967383903e13c353c86 (patch) | |
tree | c1eb95823fe439397eff0da2eb9985718fd955d6 /sha1-lookup.c | |
parent | c569b1fee151e467854ca268997f4f3baaf73564 (diff) | |
download | git-a583971f15e520c8cb5f9967383903e13c353c86.zip git-a583971f15e520c8cb5f9967383903e13c353c86.tar.gz git-a583971f15e520c8cb5f9967383903e13c353c86.tar.bz2 |
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>
Diffstat (limited to 'sha1-lookup.c')
0 files changed, 0 insertions, 0 deletions