diff options
-rwxr-xr-x | git-pull-script | 4 | ||||
-rw-r--r-- | git-resolve-script | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/git-pull-script b/git-pull-script index a4ca97c645..dbef56c70b 100755 --- a/git-pull-script +++ b/git-pull-script @@ -6,9 +6,7 @@ merge_name=$(echo "$1" | sed 's:\.git/*$::') merge_head=HEAD if [ "$2" ] then - merge_name="'$2' branch from - - $merge_name" + merge_name="'$2' branch of $merge_name" merge_head="refs/heads/$2" fi diff --git a/git-resolve-script b/git-resolve-script index cd6e25a8a2..da79a973ea 100644 --- a/git-resolve-script +++ b/git-resolve-script @@ -43,7 +43,7 @@ if [ "$common" == "$head" ]; then fi echo "Trying to merge $merge into $head" git-read-tree -u -m $common $head $merge || exit 1 -merge_msg="Merge of $merge_repo" +merge_msg="Merge $merge_repo" result_tree=$(git-write-tree 2> /dev/null) if [ $? -ne 0 ]; then echo "Simple merge failed, trying Automatic merge" @@ -52,7 +52,6 @@ if [ $? -ne 0 ]; then echo "Automatic merge failed, fix up by hand" exit 1 fi - merge_msg="Automatic merge of $merge_repo" result_tree=$(git-write-tree) || exit 1 fi result_commit=$(echo "$merge_msg" | git-commit-tree $result_tree -p $head -p $merge) |