git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [MinGW port] Unable to repack on Clearcase dynamic views

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
May 30, 2007, 19:08 UTC
Message-ID
<fcaeb9bf0705301208p6ce00315uc3cde4d43903ec0c@mail.gmail.com>
In-Reply-To
<200705302028.15549.robin.rosenberg.lists@dewire.com>
On 5/30/07, Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:
Show 31 quoted lines
> onsdag 30 maj 2007 skrev Nguyen Thai Ngoc Duy:
> > On 5/30/07, Paolo Teti <paolo.teti@gmail.com> wrote:
> > > 2007/5/30, Nguyen Thai Ngoc Duy <pclouds@gmail.com>:
> > > > Hi,
> > > >
> > > > On clearcase dynamic views (kind of virtual drives), "mv -f a b" won't
> > > > work if "a" is read-only. Because git-repack.sh removes all write
> > > > permission before moving packs, it fails on clearcase dynamic views.
> > > >
> > > > My approach is rather ugly. Does anyone have a better solution?
> > >
> > > I hate clearcase, but honestly I have used it forced by a customer..
> > > The real problem is why you need to do a repack in a CC view, but..
> >
> > I don't like it either :) But you remind me the Matthias' workdir
> > patchset. With that I can move out .git to a real drive/filesystem
> > (which should also give better performance).
> >
> > I think it's a valid use case. Anyone remember why Matthias' patchset
> > was dropped?
> > It was last mentioned in
> > http://article.gmane.org/gmane.comp.version-control.git/43041
> >
> > Junio, Matthias? May I help?
>
> Wasn't because it's better to make .git a link to a repository somewhere
> else? Just a guess.
>
> ln -s /somewhere/repo/.git .git
>
> Works fine for me (yes, in a clearcase dynamic view).

Clearcase symlinks require checkout/checkin stuffs that I really don't want to mess up with. Moreover, it seems not work if the link destination is out of clearcase view (which is what I wanted).

-- 
Duy
Previous: Johannes SchindelinNext: Robin Rosenberg
Message 7 of 14 in “[MinGW port] Unable to repack on Clearcase dynamic views”
  1. Nguyen Thai Ngoc DuyMay 30, 2007
  2. Paolo TetiMay 30, 2007
  3. Nguyen Thai Ngoc DuyMay 30, 2007
  4. Paolo TetiMay 30, 2007
  5. Robin RosenbergMay 30, 2007
  6. Johannes SchindelinMay 30, 2007
  7. Nguyen Thai Ngoc DuyMay 30, 2007
  8. Robin RosenbergMay 30, 2007
  9. Nguyen Thai Ngoc DuyMay 30, 2007
  10. Paolo TetiMay 31, 2007
  11. Robin RosenbergMay 31, 2007
  12. Jan HudecJun 1, 2007
  13. Johannes SixtMay 30, 2007
  14. Fwd: [MinGW port] Unable to repack on Clearcase dynamic viewsNguyen Thai Ngoc Duy, May 30, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.