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)"
|
||||
case "$tip" in
|
||||
# This is a merge commit, pick last parent
|
||||
*" "*" "*) tip="${tip##* }" ;;
|
||||
# This is a non-merge commit, pick itself
|
||||
*) tip="${tip%% *}" ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue