aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorChristoph Badura2025-01-26 22:48:11 +0100
committerSean Whitton2025-03-09 14:28:25 +0800
commit00e284fc52b44fc3cb435a5d17ce58af1b753a34 (patch)
tree510aa7a4504f2782efd5b3746eb5c67267abaa0b /java/debug.sh
parent4db604f3751ffb6a1fc3fd4277445a8f94cec13f (diff)
downloademacs-00e284fc52b44fc3cb435a5d17ce58af1b753a34.tar.gz
emacs-00e284fc52b44fc3cb435a5d17ce58af1b753a34.zip
VC: New hook to strip CVS template lines when committing
Add a hook function to strip all lines beginning with "CVS:" from the commit message as CVS does. Do this only if 'log-edit-vc-backend' is 'CVS'. (Bug#72341) * lisp/vc/log-edit.el (log-edit-done-strip-cvs-lines): New command. (log-edit-done-hook): Add it as an option. * test/lisp/vc/log-edit-tests.el (log-edit-done-strip-cvs-lines-helper): New function. (log-edit-done-strip-cvs-lines-cvs) (log-edit-done-strip-cvs-lines-non-cvs) (log-edit-done-strip-cvs-lines-only-cvs-colon-blank) (log-edit-done-strip-cvs-lines-only-cvs-colon): New test cases. * etc/NEWS: Mention log-edit-done-strip-cvs-lines.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions