"
And someone once said that using GIT was easier that downloading the zip file and installing from that."
That's been me! And that has been my experience. Forums are full of folks that update/upgrade not using git that have issues. Not many report issues with git.
If initially installed via git I've really had no such issue. Difference might be that I run as root user of the system most of the time and change ownerships/permissions after git acquires/changes files/folders updates/upgrades.
Did notice a change in behavior in assisting someone else recently ... doing a sideload, first run in true code directory, prompted that git hadn't originally installed moodle in that directory and asked if I should trust it. Said yes, of course.
So 'git fetch' (thanks for that tip, Mark!) didn't show something like:
remote: Enumerating objects: 1093, done.
remote: Counting objects: 100% (1093/1093), done.
remote: Compressing objects: 100% (284/284), done.
remote: Total 1093 (delta 793), reused 1093 (delta 793), pack-reused 0
Receiving objects: 100% (1093/1093), 1.03 MiB | 1.76 MiB/s, done.
Resolving deltas: 100% (793/793), completed with 247 local objects.
From git://git.moodle.org/moodle
6b8884e13bc..20302d4f864 MOODLE_402_STABLE -> origin/MOODLE_402_STABLE
9dbb082f04e..5291b32c638 MOODLE_311_STABLE -> origin/MOODLE_311_STABLE
31f6d9ccc5b..d0d7d578c5a MOODLE_39_STABLE -> origin/MOODLE_39_STABLE
abb8647b620..52a4f2d030f MOODLE_400_STABLE -> origin/MOODLE_400_STABLE
090baf556eb..03b605f2eb3 MOODLE_401_STABLE -> origin/MOODLE_401_STABLE
4ed782dd03a..84bb5725f8a master -> origin/master
What version of git do you have:
git --version
I noticed recently an update to git via package manager.
May 31 03:54:58 Updated: git.x86_64 1.8.3.1-25.el7_9
Also noticed that running 'git fetch' prior to actual pull in updating or upgrading does make file/folder acquisition appear to be faster in the actual git pull.
Dunno what to tell ya! :|
'SoS', Ken