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

Re: little conundrum

From
Alan Chandler <alan@chandlerfamily.org.uk>
Date
Nov 3, 2005, 19:30 UTC
Message-ID
<200511031930.28929.alan@chandlerfamily.org.uk>
In-Reply-To
<20051103191652.GA28273@bohr.gbar.dtu.dk>
On Thursday 03 Nov 2005 19:16, Peter Eriksen wrote:
Show 12 quoted lines
>
> Perhaps something like this is better (now I actually tried it out):
>
> ]rm -rf linux-2.6/.git
> ]cp -r linux-2.6 peter-2.6
> ...Initialize a repo in linux-2.6 with cg-init or similar and commit.
> ...Remove, add and change files in peter-2.6.
> ]mv linux-2.6/.git peter-2.6/.git
> ]cd peter-2.6/
> ]git-status
>
> How does this work for you?

This is the same as before. It lists the modified files, but it doesn't tell you about any added or deleted files.

[I have done this manually now - originally I thought that there were quite a few files - but once I had stripped out things like "tags" and some spurious directories that were empty it ended up being only three files:-). So its only an intellectual exercise now:-)]

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.
Previous: Peter EriksenNext: Peter Eriksen
Message 9 of 12 in “little conundrum”
  1. Alan ChandlerNov 3, 2005
  2. Johannes SchindelinNov 3, 2005
  3. Peter EriksenNov 3, 2005
  4. Alan ChandlerNov 3, 2005
  5. Johannes SchindelinNov 4, 2005
  6. Peter EriksenNov 3, 2005
  7. Alan ChandlerNov 3, 2005
  8. Peter EriksenNov 3, 2005
  9. Alan ChandlerNov 3, 2005
  10. Peter EriksenNov 3, 2005
  11. Petr BaudisNov 3, 2005
  12. Alan ChandlerNov 3, 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.