Parcourir la source

Fix whitespace passing

Jethro Beekman il y a 8 ans
Parent
commit
c026b915d9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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
 }