Abbreviate the VC revision in vc-annotate's buffer name

* lisp/vc/vc-hooks.el (vc-use-short-revision): New variable.
(vc-short-revision): New function.

* lisp/vc/vc-annotate.el (vc-annotate-use-short-revision): New
option...
(vc-annotate): ... use it.

* lisp/vc/vc-git.el (vc-git--rev-parse): Consult
'vc-use-short-revision'.

* etc/NEWS: Announce this change (bug#67062).
10 jobs for master in 116 minutes and 49 seconds (queued for 10 seconds)
Status Job ID Name Coverage
  Build Images
failed #79006
build-image-inotify

01:56:47

 
  Normal
skipped #79007
test-all-inotify
 
  Platform Images
failed #79008
build-image-eglot

01:56:43

failed #79010
build-image-gnustep

00:07:31

failed #79009
build-image-tree-sitter

01:56:43

 
  Platforms
skipped #79011
test-eglot
skipped #79013
test-gnustep
skipped #79012
test-tree-sitter
 
  Native Comp Images
failed #79014
build-native-comp-speed2

00:06:09

 
  Native Comp
skipped #79015
test-native-comp-speed2
 
Name Stage Failure
failed
build-image-tree-sitter Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 2044. make[4]: Nothing to be done for 'cp51932.el'.
#12 2044. make[4]: Leaving directory '/checkout/admin/charsets'
#12 2044. ELC ../lisp/international/cp51932.elc
#12 2046. make -C ../admin/charsets eucjp-ms.el
#12 2046. make[4]: Entering directory '/checkout/admin/charsets'
#12 2046. make[4]: Nothing to be done for 'eucjp-ms.el'.
#12 2046. make[4]: Leaving directory '/checkout/admin/charsets'
#12 2046. ELC ../lisp/international/eucjp-ms.elc
#12 2048. ELC ../lisp/international/fontset.elc
#12 2050. ELC ../lisp/international/iso-transl.elc
failed
build-image-eglot Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 2134.   ELC      ../lisp/language/tibetan.elc
#12 2136. ELC ../lisp/language/utf-8-lang.elc
#12 2137. ELC ../lisp/language/vietnamese.elc
#12 2138. ELC ../lisp/loaddefs.elc
#12 2153. ELC ../lisp/ls-lisp.elc
#12 2156. ELC ../lisp/menu-bar.elc
#12 2161. ELC ../lisp/minibuffer.elc
#12 2171. ELC ../lisp/mouse.elc
#12 2177. ELC ../lisp/mwheel.elc
#12 2179. ELC ../lisp/newcomment.elc
failed
build-image-inotify Build Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 2183. Loading international/mule-conf...
#12 2183. Loading env...
#12 2183. Loading format...
#12 2183. Loading bindings...
#12 2184. Loading window...
#12 2184. Loading files...
#12 2184. Loading emacs-lisp/macroexp...
#12 2184. Loading cus-face...
#12 2184. Loading faces...
#12 2185. Loading loaddefs...
failed
build-image-gnustep Platform Images
$ docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get "https://emba.gnu.org:5050/v2/": Get "https://emba.gnu.org//jwt/auth?account=gitlab-ci-token&client_id=docker&offline_token=true&service=container_registry": net/http: request canceled (Client.Timeout exceeded while awaiting headers) (Client.Timeout exceeded while awaiting headers)
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-image-gnustep-ea4cbb3a: No such file or directory
ERROR: Job failed: exit code 1
failed
build-native-comp-speed2 Native Comp Images
Error response from daemon: Get "https://emba.gnu.org:5050/v2/": Get "https://emba.gnu.org//jwt/auth?account=gitlab-ci-token&client_id=docker&offline_token=true&service=container_registry": net/http: request canceled (Client.Timeout exceeded while awaiting headers) (Client.Timeout exceeded while awaiting headers)
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-native-comp-speed2-ea4cbb3a: No such file or directory
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1