From dbc611bf15dce83598876f30b13810d9300731df Mon Sep 17 00:00:00 2001 From: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue, 22 Nov 2016 16:37:28 +0100 Subject: [PATCH] dim: Enable --scissors by default I never knew this even was a thing, and plain git am cuts everything below the scissors line (since it matches the --- of a diffstat start). Cc: Robert Bragg <robert@sixbynine.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> --- dim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dim b/dim index 8697eae..0b437c9 100755 --- a/dim +++ b/dim @@ -556,7 +556,7 @@ function dim_apply_branch sob=-s fi - cat $file | git am -3 $sob "$@" + cat $file | git am --scissors -3 $sob "$@" if [ -n "$message_id" ]; then dim_commit_add_tag "Link: http://patchwork.freedesktop.org/patch/msgid/$message_id" -- GitLab