diff options
author | root <root@localhost> | 2012-12-15 13:37:51 +0500 |
---|---|---|
committer | root <root@localhost> | 2012-12-15 13:37:51 +0500 |
commit | feca90623112a1cc5ebe3137747bda953ba3b0cf (patch) | |
tree | f30a20115f69fb4137a0fc144fa191a7e636f1d5 | |
parent | d6d8d565c95aa2dd1df4fc48a39abf6b295775d9 (diff) | |
download | git-remote-gcrypt-feca90623112a1cc5ebe3137747bda953ba3b0cf.zip git-remote-gcrypt-feca90623112a1cc5ebe3137747bda953ba3b0cf.tar.gz git-remote-gcrypt-feca90623112a1cc5ebe3137747bda953ba3b0cf.tar.bz2 |
Use set -u (no unset vars)
-rwxr-xr-x | git-remote-gcrypt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 60a99a7..a70b0c9 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -6,8 +6,8 @@ # # See README -#set -x set -e +set -u Did_find_repo= # yes for connected, no for no repo Localdir="${GIT_DIR:=.git}/remote-gcrypt" @@ -514,7 +514,7 @@ repack_if_needed() setvar "$3" no isnonnull "$Packlist" || return 0 - if isnonnull "$GCRYPT_FULL_REPACK" + if isnonnull "${GCRYPT_FULL_REPACK:-}" then Keeplist= Repack_limit=1 |