Skip to content

Commit ff3b018

Browse files
vascoolgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6a4eb91 commit ff3b018

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

git-merge-octopus.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@
55
# Resolve two or more trees.
66
#
77

8+
. git-sh-setup
89
. git-sh-i18n
910

1011
LF='
1112
'
1213

13-
die () {
14-
echo >&2 "$*"
15-
exit 1
16-
}
17-
1814
# The first parameters up to -- are merge bases; the rest are heads.
1915
bases= head= remotes= sep_seen=
2016
for arg

0 commit comments

Comments
 (0)