Fix whitespace passing

This commit is contained in:
Jethro Beekman 2016-11-02 22:40:29 -07:00
parent 281a9216e4
commit c026b915d9
1 changed files with 2 additions and 2 deletions

View File

@ -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
}