From: Mathias Megyei <mathias@mnet-mail.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: claus.klingberg@gmail.com, eliz@gnu.org, dann@ics.uci.edu,
ams@gnu.org, emacs-devel@gnu.org
Subject: Re: vc-git bug with top-level repositories
Date: Thu, 28 Aug 2008 21:19:08 +0200 [thread overview]
Message-ID: <1219951148.9130.32.camel@surlej> (raw)
In-Reply-To: <jwvd4jt87g0.fsf-monnier+emacs@gnu.org>
[Sorry, I forgot to CC emacs-devel in the previous mail]
On Thu, 2008-08-28 at 11:52 -0400, Stefan Monnier wrote:
> >> That explains how you worked around VC's limitation, but I'd be
> >> interested to hear about how you ended up in a state where you bumped
> >> into VC's limitation. I.e. how come your /foo/bar/ is owned by
> >> a different user than /foo/ even though they're both part of the same
> >> Git tree?
>
> > I'm not the OP but this will be the case in the workflow I'm
> > currently working on.
> > Two users will work in the same Git worktree.
>
> Care to explain why it's done this way?
We use this workflow in the layout generation process within the ASIC
development. Layout generation takes long time, often 3 or more month.
Two (or more) people are working together in the same tree on the same
database.
We have worked this way for years without any VCS. Now we introduce
Git for the layout generation process too. We will put the source code
(scripts, tool setup files, "design constraints", etc) under version
control.
> > User A creates the worktree /foo and works in the directory /foo/adir.
> > User B works in the directory /foo/bdir.
> > Both have umask 0002.
>
> I think VC will still work fine as long as the users don't create new
> directories. But admittedly, it's brittle.
The users will create new directories, e.g. to try a different approach
with another set of scripts and alternative constraints.
IIUC the problem is, that Emacs cannot detect reliably which VCS is
being used.
Couldn't we tell Emacs by setting a variable which VCS we are using?
Because we don't plan to use any other VCS than Git I could add the
necessary code to the company wide site-start.el file.
I could even set a variable with the path to the Git repository.
Mathias
next prev parent reply other threads:[~2008-08-28 19:19 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-16 9:17 vc-git bug with top-level repositories Alfred M. Szmidt
2008-08-18 14:33 ` Dan Nicolaescu
2008-08-18 16:24 ` Claus
2008-08-18 16:39 ` Dan Nicolaescu
2008-08-18 20:10 ` Claus
2008-08-18 20:31 ` Dan Nicolaescu
2008-08-19 11:01 ` Claus
2008-08-19 12:00 ` Paul R
2008-08-19 16:56 ` Dan Nicolaescu
2008-08-19 20:43 ` Alfred M. Szmidt
2008-08-19 21:34 ` Andreas Schwab
2008-08-20 2:22 ` Miles Bader
2008-08-20 9:18 ` Paul R
2008-08-19 18:46 ` Eli Zaretskii
2008-08-20 14:34 ` Stefan Monnier
2008-08-20 15:51 ` Eli Zaretskii
[not found] ` <86bpzn4qw2.fsf@lola.quinscape.zz>
2008-08-20 16:11 ` Eli Zaretskii
2008-08-20 22:44 ` Alfred M. Szmidt
2008-08-27 15:21 ` Stefan Monnier
2008-08-27 21:17 ` Alfred M. Szmidt
2008-08-28 2:09 ` Stefan Monnier
2008-08-29 0:40 ` Miles Bader
2008-08-29 14:09 ` Alfred M. Szmidt
2008-08-27 15:24 ` Stefan Monnier
2008-08-27 21:16 ` Alfred M. Szmidt
2008-08-28 2:06 ` Stefan Monnier
[not found] ` <1219912261.8925.63.camel@ubuntu804desktop.localdomain>
[not found] ` <jwvd4jt87g0.fsf-monnier+emacs@gnu.org>
2008-08-28 19:19 ` Mathias Megyei [this message]
2008-08-29 20:12 ` Claus
2008-10-25 15:20 ` Stefan Monnier
2008-10-27 12:43 ` Mathias Megyei
2008-08-29 14:05 ` Alfred M. Szmidt
2008-08-29 15:53 ` Stefan Monnier
2008-08-19 20:07 ` Alfred M. Szmidt
2008-08-18 21:05 ` Alfred M. Szmidt
2008-08-18 21:18 ` Dan Nicolaescu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1219951148.9130.32.camel@surlej \
--to=mathias@mnet-mail.de \
--cc=ams@gnu.org \
--cc=claus.klingberg@gmail.com \
--cc=dann@ics.uci.edu \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 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).