summaryrefslogtreecommitdiff
path: root/git-merge-octopus.sh
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2009-12-12 00:38:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-12-14 07:40:24 (GMT)
commitf08aa017675bffe2359e0122cff2e447486b97c1 (patch)
tree501dcb88e132278467cdf3685f385ef961646ced /git-merge-octopus.sh
parent85bf49f9a55fd9ded396460d245a55b651d7bdaa (diff)
downloadgit-f08aa017675bffe2359e0122cff2e447486b97c1.zip
git-f08aa017675bffe2359e0122cff2e447486b97c1.tar.gz
git-f08aa017675bffe2359e0122cff2e447486b97c1.tar.bz2
octopus: remove dead code
MSG, PARENT, and CNT are never used, just assigned to. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-merge-octopus.sh')
-rwxr-xr-xgit-merge-octopus.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/git-merge-octopus.sh b/git-merge-octopus.sh
index 3d1a29e..615753c 100755
--- a/git-merge-octopus.sh
+++ b/git-merge-octopus.sh
@@ -44,9 +44,8 @@ esac
# MRC is the current "merge reference commit"
# MRT is the current "merge result tree"
-MRC=$(git rev-parse --verify -q $head) MSG= PARENT="-p $head"
+MRC=$(git rev-parse --verify -q $head)
MRT=$(git write-tree)
-CNT=1 ;# counting our head
NON_FF_MERGE=0
OCTOPUS_FAILURE=0
for SHA1 in $remotes
@@ -72,9 +71,6 @@ do
;;
esac
- CNT=`expr $CNT + 1`
- PARENT="$PARENT -p $SHA1"
-
if test "$common,$NON_FF_MERGE" = "$MRC,0"
then
# The first head being merged was a fast-forward.