aboutsummaryrefslogtreecommitdiff
path: root/mergetools
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2014-11-21 01:03:10 -0800
committerJunio C Hamano <gitster@pobox.com>2014-11-21 11:27:53 -0800
commit1e86d5b11dcf31adf11363caa1e96a94612b16f4 (patch)
tree87b8ace37e6972a15fc054987b4fbac3e420a918 /mergetools
parent98a260220c9b464dbefce1a23e4c89ed7b6ccb4d (diff)
downloadgit-1e86d5b11dcf31adf11363caa1e96a94612b16f4.tar.gz
git-1e86d5b11dcf31adf11363caa1e96a94612b16f4.tar.xz
mergetools: stop setting $status in merge_cmd()
No callers rely on $status so there's don't need to set it during merge_cmd() for diffmerge, emerge, and kdiff3. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergetools')
-rw-r--r--mergetools/diffmerge1
-rw-r--r--mergetools/emerge1
-rw-r--r--mergetools/kdiff31
3 files changed, 0 insertions, 3 deletions
diff --git a/mergetools/diffmerge b/mergetools/diffmerge
index 85ac72015..f138cb4e7 100644
--- a/mergetools/diffmerge
+++ b/mergetools/diffmerge
@@ -11,5 +11,4 @@ merge_cmd () {
"$merge_tool_path" --merge \
--result="$MERGED" "$LOCAL" "$REMOTE"
fi
- status=$?
}
diff --git a/mergetools/emerge b/mergetools/emerge
index f96d9e550..7b895fdb1 100644
--- a/mergetools/emerge
+++ b/mergetools/emerge
@@ -15,7 +15,6 @@ merge_cmd () {
"$LOCAL" "$REMOTE" \
"$(basename "$MERGED")"
fi
- status=$?
}
translate_merge_tool_path() {
diff --git a/mergetools/kdiff3 b/mergetools/kdiff3
index a30034f11..793d1293b 100644
--- a/mergetools/kdiff3
+++ b/mergetools/kdiff3
@@ -20,5 +20,4 @@ merge_cmd () {
-o "$MERGED" "$LOCAL" "$REMOTE" \
>/dev/null 2>&1
fi
- status=$?
}