Find first commit starting from HEAD
This commit is contained in:
parent
cad163ffd0
commit
c83e6190c4
|
@ -16,7 +16,7 @@ if [ -z "$ceiling_commit" ]
|
||||||
then
|
then
|
||||||
ceiling_commit="HEAD"
|
ceiling_commit="HEAD"
|
||||||
fi
|
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
|
# Get commits log as changelog
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue