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

Re: git-add has gone lstat() mad

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Mar 31, 2007, 14:54 UTC
Message-ID
<86lkhdqx8y.fsf@blue.stonehenge.com>
In-Reply-To
<200703311119.10581.andyparkins@gmail.com>
>>>>> "Andy" == Andy Parkins <andyparkins@gmail.com> writes:
Andy> I've not done any extensive tests for regressions, but I've done

Andy> cd $HOME Andy> git init Andy> git add .bashrc Andy> git add somedirectory/

Andy> And they work fine. So - it's works for me from me, and a big happy Andy> grin.

Given that git currently doesn't maintain any metadata other than +x/-x, how are you maintaining the metadata for your homedir items? I know some schemes were discussed here in the past, but I'm curious as to what you settled on. For example, your .netrc file needs to be 600, but git won't track that.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Andy ParkinsNext: Andy Parkins
Message 6 of 10 in “git-add has gone lstat() mad”
  1. Andy ParkinsMar 30, 2007
  2. Andy ParkinsMar 30, 2007
  3. Junio C HamanoMar 31, 2007
  4. Linus TorvaldsMar 31, 2007
  5. Andy ParkinsMar 31, 2007
  6. Randal L. SchwartzMar 31, 2007
  7. Andy ParkinsMar 31, 2007
  8. Tom PrinceMar 31, 2007
  9. Junio C HamanoApr 1, 2007
  10. Andy ParkinsApr 1, 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.