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

Re: Subproject status

From
DLDavid Lang <david.lang@digitalinsight.com>
Date
Mar 26, 2007, 23:46 UTC
Message-ID
<Pine.LNX.4.63.0703261541370.14387@qynat.qvtvafvgr.pbz>
In-Reply-To
<Pine.LNX.4.64.0703261920070.6485@iabervon.org>
On Mon, 26 Mar 2007, Daniel Barkalow wrote:
Show 9 quoted lines
>
> So, I had the nutty idea that it would be convenient if I could make
> different files in a single directory come from different projects. But I
> can't think of a sane user interface, so I think that this isn't
> practical from that direction, so it's probably not worth worrying about
> from the data structure end, either. (Answer for the usecase:
> "ln -s make/Makefile Makefile; git add Makefile", and mock systems that
> don't handle symlinks).
>

this would definantly be useful (managing files in /etc or /home are easy examples

for this sort of thing doing 'git add file -index project' would be a fair first-cut at a UI. later on how about creating a dummy .git directory that would record 'file X is part of project Y' so that you could get away with only specifying it once, and then either have a default, or have git add complain if there are multiple places to put things and you don't specify which one (and if you add fules to multiple projects at the same time then you could either prompt for additional checkin comments as needed, or use the same comment for all projects)

David Lang
Previous: Daniel Barkalow
Message 8 of 8 in “Subproject status”
  1. Daniel BarkalowMar 25, 2007
  2. Jakub NarebskiMar 25, 2007
  3. Han-Wen NienhuysMar 26, 2007
  4. Han-Wen NienhuysMar 26, 2007
  5. Jakub NarebskiMar 26, 2007
  6. Martin WaitzMar 26, 2007
  7. Daniel BarkalowMar 27, 2007
  8. David LangMar 26, 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.