changed_templates: explain what has been done
This commit is contained in:
parent
7510b96218
commit
28c485ecfc
@ -6,7 +6,9 @@ PATH="/usr/libexec/chroot-git:$PATH"
|
|||||||
|
|
||||||
tip="$(git rev-list -1 --parents HEAD)"
|
tip="$(git rev-list -1 --parents HEAD)"
|
||||||
case "$tip" in
|
case "$tip" in
|
||||||
|
# This is a merge commit, pick last parent
|
||||||
*" "*" "*) tip="${tip##* }" ;;
|
*" "*" "*) tip="${tip##* }" ;;
|
||||||
|
# This is a non-merge commit, pick itself
|
||||||
*) tip="${tip%% *}" ;;
|
*) tip="${tip%% *}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user