AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.18k stars 475 forks source link

Unlocking on windows and GIT thinks files have changed. #177

Open theoryshaw opened 5 years ago

theoryshaw commented 5 years ago

Hi,

This seems to be a windows only problem.

When we unlock the following repo, GIT thinks we have a bunch of changed files. https://github.com/OpeningDesign/CTR

Has anyone else had this problem before?

CTR/_CLOSED_Cannery District - Eau Claire/ is the encrypted folder.

* filter=git-crypt diff=git-crypt .gitattributes !filter !diff

That's what's inside of .gitattributes file

I think it might have something to do with path length, or something.

yorikvanhavre commented 5 years ago

Indeed doesn't happen on linux...

Here is a list of the files paths in the repo that are over 200 chars on my system (this can vary from system to system, of course, depending on where you have your repo):

Git on windows is known to have problems with file paths above 256 chars...

See if it matches more or less the files that are marked as modified for you?

204 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190515 - to overall team - backgrounds/Exploded Backgrounds/CTR - 1st Phase - Common Walls-Sheet - A101 - FLOOR PLANS - 1ST FLOOR.dwg
202 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190515 - to overall team - backgrounds/Exploded Backgrounds/CTR - 1st Phase - Common Walls-Sheet - A100 - FLOOR PLAN - BASEMENT.dwg
203 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190515 - to overall team - backgrounds/Exploded Backgrounds/CTR - 1st Phase - Common Walls-Sheet - A103 - FLOOR PLAN - 3RD FLOOR.dwg
227 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190219 - to civil - updated backgrounds/20190219 - 1750 Ox - 1st & 2nd Phase/20190219 - 1750 Ox - 1st & 2nd Phase-Sheet - A101 - FLOOR PLANS - 1ST FLOOR.dwg
212 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190219 - to civil - updated backgrounds/20190219 - 1750 Ox - 1st & 2nd Phase/20190219 - 1750 Ox - 1st & 2nd Phase-Sheet - A80 - SITE PLAN.dwg
225 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190219 - to civil - updated backgrounds/20190219 - 1750 Ox - 1st & 2nd Phase/20190219 - 1750 Ox - 1st & 2nd Phase-Sheet - A100 - FLOOR PLAN - BASEMENT.dwg
226 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190219 - to civil - updated backgrounds/20190219 - 1750 Ox - 1st & 2nd Phase/20190219 - 1750 Ox - 1st & 2nd Phase-Sheet - A103 - FLOOR PLAN - 3RD FLOOR.dwg
220 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190219 - to civil - updated backgrounds/20190219 - 1750 Ox - 1st & 2nd Phase/20190219 - 1750 Ox - 1st & 2nd Phase-Sheet - A300 - BUILDING SECTION.dwg
221 : /home/yorik/CBD/_CLOSED_Cannery District - Eau Claire/Transfer/_Open/20190219 - to civil - updated backgrounds/20190219 - 1750 Ox - 1st & 2nd Phase/20190219 - 1750 Ox - 1st & 2nd Phase-Sheet - A102 - FLOOR PLANS - 2ND.dwg
201 : /home/yorik/CBD/Existing Conditions & Code Research/Existing Conditions/Developing projects in neighborhood/Pocket community/WiRED housing for Cannery District gets local feedback - Leader-Telegram.url
238 : /home/yorik/CBD/Existing Conditions & Code Research/Existing Conditions/Developing projects in neighborhood/Pocket community/Milwaukee firm eyes land to bring West Coast housing trend to Eau Claire's Cannery District - Leader-Telegram.url
215 : /home/yorik/CBD/Research and CA/Research and Submittals/B20 Exterior Vertical Enclosures/B2010 Exterior Walls/Fiber Cement Panels/American Fiber Cement/Minerit HD/Minerit HD Facade Boards - American Fiber Cement.url
theoryshaw commented 5 years ago

Quite a bit more, unfortunately :)

https://gist.github.com/theoryshaw/3e7768ec9c3637ec7cd9b93eee128fb2