summaryrefslogtreecommitdiff
path: root/builtin-revert.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2008-12-26 11:01:57 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-26 19:08:32 -0800
commita583971f15e520c8cb5f9967383903e13c353c86 (patch)
treec1eb95823fe439397eff0da2eb9985718fd955d6 /builtin-revert.c
parentdaemon: handle freopen() failure (diff)
downloadtgif-a583971f15e520c8cb5f9967383903e13c353c86.tar.xz
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 'builtin-revert.c')
0 files changed, 0 insertions, 0 deletions