unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs-repository-{version|branch} on Windows
@ 2022-11-04 18:24 Juanma Barranquero
  2022-11-04 18:36 ` Juanma Barranquero
  2022-11-04 18:51 ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Juanma Barranquero @ 2022-11-04 18:24 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

I've been struggling with these two variables being nil on my build, and
finally I modified emacs-repository-version-git to write a log file and see
what was happening:

fatal: detected dubious ownership in repository at
'D:/Devel/emacs/repo/trunk'
'D:/Devel/emacs/repo/trunk/.git' is owned by:
        'S-1-5-32-544'
but the current user is:
        'S-1-5-21-...' [my account's SID]
To add an exception for this directory, call:

        git config --global --add safe.directory D:/Devel/emacs/repo/trunk

One of these cases where there's a directory whose owner is the
Administrators group. Changing the ownership of .git/ to the current user
fixed the problem.

BTW, the git config line didn't help.

Is this usual? Should it be mentioned on some README? (Or perhaps it is
already and I did miss it.)

[-- Attachment #2: Type: text/html, Size: 1121 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-11-05 15:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 18:24 emacs-repository-{version|branch} on Windows Juanma Barranquero
2022-11-04 18:36 ` Juanma Barranquero
2022-11-04 18:51 ` Eli Zaretskii
2022-11-04 18:58   ` Juanma Barranquero
2022-11-04 19:28   ` Stefan Monnier
2022-11-04 20:08     ` Juanma Barranquero
2022-11-04 20:29       ` Eli Zaretskii
2022-11-04 20:42         ` Juanma Barranquero
2022-11-04 20:47           ` Stefan Monnier
2022-11-04 20:56             ` Eli Zaretskii
2022-11-04 21:09               ` Juanma Barranquero
2022-11-04 21:20               ` Stefan Monnier
2022-11-05  6:24                 ` Eli Zaretskii
2022-11-05 11:43                   ` Juanma Barranquero
2022-11-05 12:36                     ` Eli Zaretskii
2022-11-05 13:20                       ` Juanma Barranquero
2022-11-05 15:19                     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).