aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@localhost>2013-01-22 17:25:23 -0100
committerroot <root@localhost>2013-01-22 17:25:23 -0100
commit2fa9a4a7eff038b649a0af81173419c6cbe9e7a4 (patch)
tree7fee62835f09f171686df9c2056f8480260244eb
parent479cbcbe6ee95e1d6f9835c2752476f9b50456a4 (diff)
downloadgit-remote-gcrypt-2fa9a4a7eff038b649a0af81173419c6cbe9e7a4.zip
git-remote-gcrypt-2fa9a4a7eff038b649a0af81173419c6cbe9e7a4.tar.gz
git-remote-gcrypt-2fa9a4a7eff038b649a0af81173419c6cbe9e7a4.tar.bz2
Cleanup use of "quotes"
-rwxr-xr-xgit-remote-gcrypt8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 0522149..c49742f 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -601,7 +601,7 @@ repack_if_needed()
n_=$(line_count "$Packlist")
m_=$(line_count "$pkeep_")
- if [ $Repack_limit -gt "$(($n_ - $m_))" ]; then
+ if [ "$Repack_limit" -gt "$(($n_ - $m_))" ]; then
return
fi
echo_info "Repacking remote $NAME, ..."
@@ -704,7 +704,7 @@ do_fetch()
pick_fields @premote_ 1,2 "$Packlist"
if [ -s "$Localdir/have_packs+" ]
then
- pneed_="$(xecho "$premote_" | xgrep -v -x -f "$Localdir/have_packs+")"
+ pneed_=$(xecho "$premote_" | xgrep -v -x -f "$Localdir/have_packs+")
else
pneed_=$premote_
fi
@@ -862,7 +862,7 @@ gcrypt_main_loop()
do_list
;;
fetch\ *)
- r_args="${input_##fetch }"
+ r_args=${input_##fetch }
while read input_inner
do
case "$input_inner" in
@@ -877,7 +877,7 @@ gcrypt_main_loop()
do_fetch "$r_args"
;;
push\ *)
- r_args="${input_##push }"
+ r_args=${input_##push }
while read input_inner
do
case "$input_inner" in