From 164189a5e524a9c291afa306a2684dd2a2136772 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Wed, 1 Feb 2012 01:18:03 -0500 Subject: [PATCH] fix auto_update expansion logic --- functions/omz-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/omz-update b/functions/omz-update index 1eae89d5..0955159a 100644 --- a/functions/omz-update +++ b/functions/omz-update @@ -14,7 +14,7 @@ if ! git \ --git-dir="${OMZ}/.git" \ --work-tree="$OMZ" \ pull \ - "${auto_commit:---no-commit}" \ + $(is-true auto_commit || echo --no-commit) \ --strategy=recursive \ -X ours \ "${remote_name:-origin}" \