aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-remote-gcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-xgit-remote-gcrypt4
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