Jethro Beekman 8 лет назад
Родитель
Сommit
c026b915d9
1 измененных файлов с 2 добавлено и 2 удалено
  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
 }