aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@localhost>2013-02-14 00:00:00 +0000
committerroot <root@localhost>2013-02-14 00:00:00 +0000
commit903e9a5bbc9f0be3567efb45b5390d16ed215547 (patch)
treed31b6a2b8f3f6e9ddbe397baa41a9216c53f6ea8
parentd390ee86119f7eefd7d4b6cb4f3612e24dc85686 (diff)
downloadgit-remote-gcrypt-903e9a5bbc9f0be3567efb45b5390d16ed215547.zip
git-remote-gcrypt-903e9a5bbc9f0be3567efb45b5390d16ed215547.tar.gz
git-remote-gcrypt-903e9a5bbc9f0be3567efb45b5390d16ed215547.tar.bz2
Fix retval of gitception_get
-rwxr-xr-xgit-remote-gcrypt3
1 files changed, 2 insertions, 1 deletions
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()