diff options
| author | Sean Whitton | 2025-04-27 11:45:54 +0800 |
|---|---|---|
| committer | Sean Whitton | 2025-04-27 11:52:53 +0800 |
| commit | 07c2b169edc2c5aaad1c8f494663a8198b2d4ca2 (patch) | |
| tree | 04f09dd67ab76edec7acb4e9d6e23d824d300a20 /java/debug.sh | |
| parent | d047a89e769f3c8429c43a40d5f251a895590d3a (diff) | |
| download | emacs-07c2b169edc2c5aaad1c8f494663a8198b2d4ca2.tar.gz emacs-07c2b169edc2c5aaad1c8f494663a8198b2d4ca2.zip | |
Improve syncing VC buffers before generating diffs
* lisp/vc/vc.el (vc-maybe-buffer-sync): Delete. Correct
handling of indirect buffers is now implicitly achieved by
vc-buffer-sync-fileset.
(vc-buffer-sync-fileset): Make NOT-ESSENTIAL argument optional,
new MISSING-IN-DIRS optional argument. Rewrite to handle
directories named in the fileset, not only files.
(vc-ediff): Replace call to vc-maybe-buffer-sync with a call to
vc-buffer-sync-fileset.
(vc-root-diff): Similarly replace call to vc-maybe-buffer-sync.
This means the user is prompted to save additional buffers, that
they likely want to save before generating the diffs.
* test/lisp/vc/vc-misc-tests.el: New file.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions