From 903e9a5bbc9f0be3567efb45b5390d16ed215547 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Feb 2013 00:00:00 +0000 Subject: [PATCH] Fix retval of gitception_get --- git-remote-gcrypt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 9856f19..8a1ac71 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -48,7 +48,8 @@ gitception_get() awk '{print $3}') && [ -n "$OBJID" ] && \ git cat-file blob "$OBJID" && RETVAL=: || \ { RETVAL=false && : ; } - [ -e "$FHEAD.$$~" ] && command mv -f "$FHEAD.$$~" "$FHEAD" && $RETVAL + [ -e "$FHEAD.$$~" ] && command mv -f "$FHEAD.$$~" "$FHEAD" || : + $RETVAL } anon_commit()