From: Juanma Barranquero <lekktu@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: emacs-repository-{version|branch} on Windows
Date: Fri, 4 Nov 2022 19:24:11 +0100 [thread overview]
Message-ID: <CAAeL0SRxiByrjFrwKi+-EzTvAAbd0Ugvp-xmXkyLy1=s-ak1XA@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2022-11-04 18:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 18:24 Juanma Barranquero [this message]
2022-11-04 18:36 ` emacs-repository-{version|branch} on Windows 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAeL0SRxiByrjFrwKi+-EzTvAAbd0Ugvp-xmXkyLy1=s-ak1XA@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.