diff options
author | root <root@localhost> | 2013-02-14 00:00:00 +0000 |
---|---|---|
committer | root <root@localhost> | 2013-02-14 00:00:00 +0000 |
commit | 903e9a5bbc9f0be3567efb45b5390d16ed215547 (patch) | |
tree | d31b6a2b8f3f6e9ddbe397baa41a9216c53f6ea8 | |
parent | d390ee86119f7eefd7d4b6cb4f3612e24dc85686 (diff) | |
download | git-remote-gcrypt-903e9a5bbc9f0be3567efb45b5390d16ed215547.zip git-remote-gcrypt-903e9a5bbc9f0be3567efb45b5390d16ed215547.tar.gz git-remote-gcrypt-903e9a5bbc9f0be3567efb45b5390d16ed215547.tar.bz2 |
Fix retval of gitception_get
-rwxr-xr-x | git-remote-gcrypt | 3 |
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() |