ananthakumaran / monky

Magit for Hg
http://ananthakumaran.in/monky/index.html
GNU General Public License v3.0
155 stars 30 forks source link

Stricter matching of 'diff' in commit info #70

Closed Wilfred closed 6 years ago

Wilfred commented 6 years ago

Previously, we would match strings like 'Different'. This commit makes the regexps case sensitive, and requires 'diff '. This helps users of Differential, and improves #68.

This isn't perfect: it's still possibly to create commit messages that contain lines that start 'diff -r abc -r def foo.txt'. However, it's an improvement.

Bounga commented 6 years ago

This isn't perfect but it's much better than before. Thank you @Wilfred