]> Nutra Git (v1) - gamesguru/git-remote-gcrypt.git/commitdiff
Fix retval of gitception_get
authorroot <root@localhost>
Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)
committerroot <root@localhost>
Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)
git-remote-gcrypt

index 9856f1986cc53168a2acf31a6cb0f5317e35ed5a..8a1ac7156b29e8453e0ce832537979e9ca6c3855 100755 (executable)
@@ -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()