From c026b915d9db015979c0f6c8dc70a2adfaf651a6 Mon Sep 17 00:00:00 2001 From: Jethro Beekman Date: Wed, 2 Nov 2016 22:40:29 -0700 Subject: [PATCH] Fix whitespace passing --- functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 1f291d0..dcd0b89 100644 --- a/functions.sh +++ b/functions.sh @@ -10,10 +10,10 @@ git_extract() { } git_commits_ordered() { - format=$1 + format="$1" shift if [ $# -ge 1 ]; then - git log --topo-order --no-walk=sorted --date=iso-local --pretty=format:$format "$@" + git log --topo-order --no-walk=sorted --date=iso-local --pretty=format:"$format" "$@" fi echo }