[PATCH] Do not include unused header files.
[git/haiku.git] / git-pull-script
blob49f42b5ab2896356952aee9eb2b771f422011f02
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 from
11 $merge_name"
12 merge_head="refs/heads/$2"
15 : ${GIT_DIR=.git}
16 : ${GIT_OBJECT_DIRECTORY="${SHA1_FILE_DIRECTORY-"$GIT_DIR/objects"}"}
18 git-fetch-script "$merge_repo" "$merge_head"
20 git-resolve-script \
21 "$(cat "$GIT_DIR"/HEAD)" \
22 "$(cat "$GIT_DIR"/MERGE_HEAD)" \
23 "$merge_name"