blob: fc463260bd9dd07e50494e7cbb39ef6833179ff3 [file] [log] [blame]
Linus Torvalds839a7a02005-04-18 12:15:10 -07001#!/bin/sh
2#
Linus Torvaldsb33e9662005-07-08 10:57:21 -07003. git-sh-setup-script || die "Not a git archive"
Junio C Hamanof170e4b2005-07-16 00:16:24 -07004. git-parse-remote "$@"
5merge_name="$_remote_name"
Linus Torvaldsb33e9662005-07-08 10:57:21 -07006
Junio C Hamanof170e4b2005-07-16 00:16:24 -07007git-fetch-script "$@" || exit 1
Linus Torvalds839a7a02005-04-18 12:15:10 -07008
Junio C Hamano8ac069a2005-05-09 22:57:58 -07009git-resolve-script \
10 "$(cat "$GIT_DIR"/HEAD)" \
Linus Torvalds6b38a402005-06-21 14:04:13 -070011 "$(cat "$GIT_DIR"/FETCH_HEAD)" \
Linus Torvalds3ba513c2005-07-08 17:38:44 -070012 "Merge $merge_name"