[PATCH] Remove "delta" object representation.
[git/dscho.git] / git-pull-script
blob90ee0f322d8c569a5b02b3be1548eb990b4263c9
1 #!/bin/sh
3 merge_repo=$1
5 merge_name=$(echo "$1" | sed 's:\.git/*$::')
6 merge_head=HEAD
7 if [ "$2" ]
8 then
9 merge_name="'$2' branch of $merge_name"
10 merge_head="refs/heads/$2"
13 : ${GIT_DIR=.git}
14 : ${GIT_OBJECT_DIRECTORY="${SHA1_FILE_DIRECTORY-"$GIT_DIR/objects"}"}
16 git-fetch-script "$merge_repo" "$merge_head" || exit 1
18 git-resolve-script \
19 "$(cat "$GIT_DIR"/HEAD)" \
20 "$(cat "$GIT_DIR"/FETCH_HEAD)" \
21 "$merge_name"