Find first commit starting from HEAD

This commit is contained in:
Benjamin Bohard 2020-09-16 11:31:47 +02:00
parent cad163ffd0
commit c83e6190c4

View File

@ -16,7 +16,7 @@ if [ -z "$ceiling_commit" ]
then
ceiling_commit="HEAD"
fi
first_commit=$(git rev-list --max-parents=0 origin/master)
first_commit=$(git rev-list --max-parents=0 HEAD)
# Get commits log as changelog