GNU bug report logs -
#80035
31.0.50; Remote files are not being recognized as tracked by Git.
Previous Next
To reply to this bug, email your comments to 80035 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80035; Package
emacs.
(Fri, 19 Dec 2025 16:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ASANO Fumihisa <fasano <at> biglobe.jp>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Fri, 19 Dec 2025 16:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I built the latest Emacs from the master branch on Windows using MinGW64.
The issue is that remote files (on RHEL9) opened via Tramp (e.g., /sshx:remote:~/somefile) are not recognized as being under Git version control.
Started with emacs -q.
Specifically:
- The branch name is not displayed in the mode line.
- vc-print-root-log returns the error: "vc-deduce-fileset: File is not under version control."
Note that this issue does not occur with local files; they are recognized correctly.
The issue seems to have been introduced by the commit below.
Everything works fine after reverting it.
commit 4faebea8222eeaf1b2abb7391c38874dc991918f
Author: Sean Whitton <spwhitton <at> spwhitton.name>
Date: Sun Oct 19 16:41:11 2025 +0100
vc-git-registered: Be quieter when Git is not installed
* lisp/vc/vc-git.el (vc-git-registered): If Git is not
installed, don't echo a message about it.
In GNU Emacs 31.0.50 (build 1, x86_64-w64-mingw32) of 2025-12-19 built
on *BuildMachine*
Repository revision: 83e8acf19ac8c435fbe9767c7223f730897e1780
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.26200
System Description: Microsoft Windows 10 Pro (v10.0.2009.26200.7462)
Configured using:
'configure --without-native-compilation --with-modules --without-pop
--without-dbus --prefix=/c/Users/*builduser*/work/emacs/trunk/dest/emacs
PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig'
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG LIBXML2 MODULES NOTIFY W32NOTIFY
PDUMPER PNG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER
WEBP XPM ZLIB
Important settings:
value of $LC_CTYPE: ja_JP.UTF-8
value of $LANG: ja_JP.UTF-8
locale-coding-system: cp932
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode
mailabbrev gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-hg vc-git diff-mode
track-changes easy-mmode vc-bzr vc-dispatcher markdown-ts-mode treesit
tramp-cmds tramp-sh tramp-cache time-stamp tramp rx trampver
tramp-integration files-x tramp-message help-mode tramp-compat xdg shell
pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec
auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
subr-x map byte-opt gv bytecomp byte-compile ansi-color tramp-loaddefs
cl-loaddefs cl-lib japan-util rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
touch-screen dos-w32 ls-lisp term/w32-nt disp-table term/w32-win w32-win
w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads w32notify w32 multi-tty move-toolbar make-network-process
tty-child-frames emacs)
Memory information:
((conses 16 95311 25471) (symbols 48 11251 0) (strings 32 32261 1405)
(string-bytes 1 887065) (vectors 16 19644)
(vector-slots 8 319614 6116) (floats 8 49 20) (intervals 56 1120 584)
(buffers 1064 12))
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80035; Package
emacs.
(Sat, 20 Dec 2025 07:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 80035 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 19 Dec 2025 10:36:26 +0900
> From: ASANO Fumihisa via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> I built the latest Emacs from the master branch on Windows using MinGW64.
> The issue is that remote files (on RHEL9) opened via Tramp (e.g., /sshx:remote:~/somefile) are not recognized as being under Git version control.
> Started with emacs -q.
>
> Specifically:
> - The branch name is not displayed in the mode line.
> - vc-print-root-log returns the error: "vc-deduce-fileset: File is not under version control."
> Note that this issue does not occur with local files; they are recognized correctly.
>
> The issue seems to have been introduced by the commit below.
> Everything works fine after reverting it.
>
>
> commit 4faebea8222eeaf1b2abb7391c38874dc991918f
> Author: Sean Whitton <spwhitton <at> spwhitton.name>
> Date: Sun Oct 19 16:41:11 2025 +0100
>
> vc-git-registered: Be quieter when Git is not installed
>
> * lisp/vc/vc-git.el (vc-git-registered): If Git is not
> installed, don't echo a message about it.
Thanks, should be fixed now.
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.