Browse Source

Fix whitespace passing

Jethro Beekman 8 years ago
parent
commit
c026b915d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions.sh

+ 2 - 2
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
 }