aboutsummaryrefslogtreecommitdiffstats
path: root/extras/emacs/plugin-main-skel.el
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-30 02:59:55 +0000
committerDamjan Marion <dmarion@me.com>2020-04-30 10:18:54 +0000
commitdc0ded7dd7a6b8ee68df25cd56666de804e55e64 (patch)
tree69a62b8fe51d33e8b8b0a84b65904e09b7d832d7 /extras/emacs/plugin-main-skel.el
parent690ce8672c090709924b924af1e49ffc38d8f00c (diff)
vcl: disconnect both flavors of bapi transport on destroy
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I6697296b45c5816a31535b0cf44b8e726292b8bb
Diffstat (limited to 'extras/emacs/plugin-main-skel.el')
0 files changed, 0 insertions, 0 deletions
nd-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/sh

# Read coverity email on stdin
# whenever we find a filename & line number reference, go git-blame it

file=
start=
end=

while read line; do
	if echo "$line" | grep -q '^/.*: '; then
		echo "$line"
		file=$(echo "$line" | cut -d: -f1)
	elif echo "$line" | grep -q '^[*]'; then
		echo "$line"
		file=
		start=
		end=
	elif echo "$line" | grep -q '^[0-9][0-9]*'; then
		num=$(echo "$line" | awk '{print $1}')
		[ -z "$start" ] && start=$num
		#git blame -L "$num,+1" ".$file" | cat
	elif [ -z "$line" ]; then
		if [ "$start" -a "$num" -a "$file" ]; then
			end=$num
			git blame --date=short -L "$start,$end" ".$file" | cat
			start=
			end=
			num=
		else
			echo "$line"
		fi
	else
		echo "$line"
	fi
done