2005-04-18 21:15:10 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
merge_repo=$1
|
2005-05-05 02:02:16 +02:00
|
|
|
merge_name=${2:-HEAD}
|
2005-04-18 21:15:10 +02:00
|
|
|
|
2005-05-10 07:57:58 +02:00
|
|
|
: ${GIT_DIR=.git}
|
|
|
|
: ${GIT_OBJECT_DIRECTORY="${SHA1_FILE_DIRECTORY-"$GIT_DIR/objects"}"}
|
|
|
|
|
2005-05-22 20:03:24 +02:00
|
|
|
git-fetch-script "$merge_repo" "$merge_name"
|
2005-04-18 21:15:10 +02:00
|
|
|
|
2005-05-10 07:57:58 +02:00
|
|
|
git-resolve-script \
|
|
|
|
"$(cat "$GIT_DIR"/HEAD)" \
|
|
|
|
"$(cat "$GIT_DIR"/MERGE_HEAD)" \
|
|
|
|
"$merge_repo"
|