1
0
mirror of https://github.com/git/git.git synced 2024-11-18 23:13:58 +01:00

merge-octopus: use die shell function from git-sh-setup.sh

Source git-sh-setup in order to use die shell function from
git-sh-setup.sh library instead of using the one defined in
git-merge-octopus.sh. Remove the former die function.

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Vasco Almeida 2016-06-17 20:20:57 +00:00 committed by Junio C Hamano
parent 6a4eb91a73
commit ff3b018d2f

@ -5,16 +5,12 @@
# Resolve two or more trees.
#
. git-sh-setup
. git-sh-i18n
LF='
'
die () {
echo >&2 "$*"
exit 1
}
# The first parameters up to -- are merge bases; the rest are heads.
bases= head= remotes= sep_seen=
for arg