Use set -u (no unset vars)
This commit is contained in:
parent
d6d8d565c9
commit
feca906231
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue