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

Re: [PATCH] Add git-relink-script to fix up missing hardlinks

From
Jan Harkes <jaharkes@cs.cmu.edu>
Date
Jun 27, 2005, 01:11 UTC
Message-ID
<20050627011113.GA26049@delft.aura.cs.cmu.edu>
In-Reply-To
<42BF058F.8010301@pobox.com>
On Sun, Jun 26, 2005 at 03:44:15PM -0400, Jeff Garzik wrote:
Show 13 quoted lines
> Junio C Hamano wrote:
> >I am a bit puzzled, though, why Jeff was the original requestor
> >for this feature --- I thought he handles 50 heads in one
> >repository which means there is no multiple repositories to
> >relink across.
> 
> Sure there are.  Just watching my submissions on the mailing list, you 
> can see ones mentioned such as "misc-2.6", "libata-dev", "netdev-2.6", etc.:
> 
> [jgarzik@pretzel repo]$ ls -FC
>  config-2.4      ethtool/    libata-dev/  netdev-2.6/     sparse/
>  config-2.6      git/        linux-2.6/   old-SCM/
>  config-2.6-uml  git-tools/  misc-2.6/    scsi-misc-2.6/

I actually have been using subdirectories in refs/heads with quite a bit of success. All of the core tools have no problem with them and only gitweb and gitk need some small changes to show them correctly.

The subdirectories in refs/heads are user specific in my case, this end up being pretty useful when combined with Coda's directory ACLs, each user can maintain their own branches, but cannot modify anyone elses. All developers have insert, read and lookup rights on the main objects repository, they can add new objects, but not remove or overwrite any existing ones.

My branch names end up looking something like 'jaharkes/wdonly', 'awolbach/expand', etc. and it works like a charm.

Jan
Previous: Jeff Garzik
Message 6 of 6 in “Add git-relink-script to fix up missing hardlinks”
  1. Add git-relink-script to fix up missing hardlinksRyan Anderson, Jun 26, 2005
  2. Jeff GarzikJun 26, 2005
  3. Junio C HamanoJun 26, 2005
  4. Junio C HamanoJun 26, 2005
  5. Jeff GarzikJun 26, 2005
  6. Jan HarkesJun 27, 2005

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.