Fix retval of gitception_get

This commit is contained in:
root 2013-02-14 00:00:00 +00:00
parent d390ee8611
commit 903e9a5bbc

View file

@ -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()