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

Making file permissions match

From
jonsmirl@gmail.com <jonsmirl@gmail.com>
Date
Aug 3, 2016, 13:46 UTC
Message-ID
<CAKON4OyiG=ddx77Bn3h-YAh-3BYGd2rXPb9smwaooWxfBmtDKw@mail.gmail.com>

I'm working with some Windows programmers that don't believe in file permissions They keep sending me zip files of their source tree. I have my copy of the tree in git on Linux with all of the correct file permissions.

So I unzip the archive they send me and to see what they changed. I unzip it on top of my git tree. But now all of the file permissions don't match. The code deltas are there but there is also all of this noise from the file permissions.

Is there an easy way to deal with this? I want to keep the code deltas and ignore the permission changes. Since there are about 100K files this is too much to do manually.

-- 
Jon Smirl
jonsmirl@gmail.com
Next: Torsten Bögershausen
Message 1 of 4 in “Making file permissions match”
  1. jonsmirl@gmail.comAug 3, 2016
  2. Torsten BögershausenAug 3, 2016
  3. jonsmirl@gmail.comAug 3, 2016
  4. Johannes SchindelinAug 3, 2016

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.