$(dirname $0)/message_helper "$@" "$subject" <<EOF
After merging the BRANCH tree, today's linux-next build (KCONFIG_NAME) produced this warning:
+
+
+Introduced by commit
+
+ ("")
EOF
exit 0
shift 2
}
-file="$*"
-
-gitk --merge -- $file &
-[ "$file" ] && gvim $file 2>/dev/null
+gitk --merge -- "$@" &
+[ "$#" ] && gvim "$@" 2>/dev/null
+printf -v files " %s\n" "$@"
conf="a conflict"
-[ "$#" -gt 1 ] && {
- file=${file// /, }
- file=$(echo $file | sed 's/,\([^,]*\)$/ and\1/')
+[ "$#" -gt 1 ] &&
conf="conflicts"
-}
subject="manual merge of the BRANCH tree with the FIXME tree"
Today's linux-next merge of the BRANCH tree got $conf in:
- $file
-
+$files
between commit:
("")
filter="sed -e \"s/BRANCH/$branch/g\""
[ "$kconfig" ] &&
filter="$filter -e \"s/KCONFIG_NAME/$kconfig/g\""
-filter="$filter | fmt"
+filter="$filter | fmt -s"
$(dirname $0)/send_email "$contact" "$cc" "linux-next: $subject" <<EOF
Hi $greeting,
#!/bin/bash
-TARGET="$(dirname $0)/../mails"/$(date +"%Y-%m-%d+%s").email
+TARGET="$(realpath --relative-to=. $(dirname $0)/../mails)"/$(date +"%Y-%m-%d+%s").email
to="$1"
cc="$2"