aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Whitton2025-09-21 21:39:42 +0100
committerSean Whitton2025-09-21 21:59:02 +0100
commit8310795babf5699438b6ea416672194e4e0bb933 (patch)
tree3faa8b1a28caaa15f6df2196e4c66c8203364a2b /src
parent0109b4a758fad1467b83c0631066e15c046669a9 (diff)
downloademacs-8310795babf5699438b6ea416672194e4e0bb933.tar.gz
emacs-8310795babf5699438b6ea416672194e4e0bb933.zip
VC checkin-patch: Support extracting commit metadata from patches
* lisp/vc/vc-git.el (vc-git--mailinfo): New function. (vc-git-checkin-patch): Use it to extract authorship, date and log message information from patches. (vc-git--call): New INFILE argument. All uses changed. * lisp/vc/vc-hg.el (vc-hg--checkin): When COMMENT is nil, take authorship, date and log message information from the patch. * lisp/vc/vc.el (checkin-patch): Specify to use authorship, date and comment information in PATCH-STRING (bug#79408). (prepare-patch): Specify that patch should include authorship identity, date and log message information for REV if supported. (diff-bounds-of-hunk): Declare. (vc-default-checkin-patch): Warn if it looks like we will ignore patch authorship information. * test/lisp/vc/vc-tests/vc-tests.el (vc-hg-command) (vc-git--out-str): Declare. (vc-test--checkin-patch): New function. (vc-test-git08-checkin-patch, vc-test-hg08-checkin-patch): New tests.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions