From: Shawn O. Pearce Date: Wed, 25 Jul 2007 08:54:53 +0000 (-0400) Subject: git-gui: Format tracking branch merges as though they were pulls X-Git-Tag: gitgui-0.8.0~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ead49f5a4f6c87e5dc61ed5daaeda1bae7644d05?ds=sidebyside;hp=ead49f5a4f6c87e5dc61ed5daaeda1bae7644d05 git-gui: Format tracking branch merges as though they were pulls If we are merging a tracking branch we know exactly what remote URL that branch is fetched from, and what its name is on that remote repository. In this case we can setup a merge message that looks just like a standard `git-pull $remote $branch` operation by filling out FETCH_HEAD before we start git-merge, and then run git-merge just like git-pull does. I think the result of this behavior is that merges look a lot nicer when the came off of local tracking branches, because they no longer say "commit 'origin/...'" to describe the commit being merged but instead now mention the specific repository we fetched those commits from. Signed-off-by: Shawn O. Pearce ---