diff --git a/scripts/create_changelog.sh b/scripts/create_changelog.sh index 8277b5d80b5..95e0899ec33 100755 --- a/scripts/create_changelog.sh +++ b/scripts/create_changelog.sh @@ -1,7 +1,7 @@ #!/bin/sh # Convert git log to GNU-style ChangeLog file. # (C) Chris -if test -d ".git"; then +if test -e ".git"; then git log --date-order --date=short | \ sed -e '/^commit.*$/d' | \ awk '/^Author/ {sub(/\\$/,""); getline t; print $0 t; next}; 1' | \