[fpc-other] (Probably trivial) git help, please

b_lists at patandbrian.org b_lists at patandbrian.org
Sun Oct 26 16:20:50 CET 2025


On 10/26/25 10:30, wkitty42--- via fpc-other wrote:
> On 10/24/25 4:49 AM, Brian via fpc-other wrote:
>> On 10/24/25 04:26, Johannes Truschnigg via fpc-other wrote:
>>> Hi Brian,
>>>
>>> sounds odd, since git doesn't care about filesystem metadata of the 
>>> files it
>>> tracks - it just cares about their content. So if you did a 1:1 
>>> copy of the
>>> repository directory onto another drive, unless something mangled 
>>> the data
>>> during that copy, not a thing should have changed from git's 
>>> perspective...
>>
>> Yes, absolutely - just installed the new NAS, put the old drive on a 
>> temporary mount point, and did a simple copy.
> 
> this sounds like you missed the hidden-by-default .git directory if 
> you used the normal copy command... if that directory was copied from 
> the original then please ignore me... i'm also still pre- 1st c0ffee 
> of the day...
> 

You would be correct the first time, but then I tried using p7zip to 
pack up the entire directory and copied that across, then unpacked it, 
and it still had problems. I could have tried moving rather than 
copying, but then that leaves me with a problem that I have to do 
another copy as I'm using the old drive as my backup device. I think 
I'm about to start writing my own very specific backup utility!


Brian.




More information about the fpc-other mailing list