5 merge_name=$(echo "$1" | sed 's:\.git/*$::')
8 if [ "$2" = "tag" ]; then
14 merge_name="$type '$2' of $merge_name"
15 merge_head="refs/${type}s/$2"
19 : ${GIT_OBJECT_DIRECTORY="${SHA1_FILE_DIRECTORY-"$GIT_DIR/objects"}"}
21 git-fetch-script "$merge_repo" "$merge_head" || exit 1
24 "$(cat "$GIT_DIR"/HEAD)" \
25 "$(cat "$GIT_DIR"/FETCH_HEAD)" \