Page MenuHomeSoftware Heritage
Paste P1345

(An Untitled Masterwork)
ActivePublic

Authored by ardumont on Apr 22 2022, 2:41 PM.
14:06 <+moranegg> olasd: (or any other git annex expert) I have done a git sync to add one pdf and seems lot of stuff has happened during this sync, Is there a way to check that this is normal and that I didn't break anything?
14:08 <+olasd> there's a bunch of pdfs that are in the git repo instead of the annex (events/2021-11-30-swh5years/community-meetup/) but that commit was in january
14:11 <+moranegg> interesting, I had in January other issues
14:12 <+olasd> I managed a git annex get of the pdf you've added just fine
14:15 <+moranegg> great, I hope I haven't deleted anything with the sync
14:16 <+ardumont> but were there issues though in the end? or is it just git-annex being git-annex and doing quite a lot of stuff when doing what sounds like a simple instruction?
14:16 <+moranegg> this is the thing, I don't know how to know
14:17 <+olasd> git annex always fetches and merges a bunch of branches and syncs files to multiple servers
14:18 <+moranegg> If there is way to properly investigate that the simple instruction didn't destroy the annex, I would be happy to discover this
14:18 <+olasd> for a single addition of a file, there's 3 fetches, 3 merges, 2 file syncs and 3 pushes
14:19 <+moranegg> if I want to add multiple files, should I do it once and then sync, or sync after each addition?
14:19 <+olasd> do it once and sync
14:19 <+olasd> all at once*
14:22 <+moranegg> thanks!
14:23 <+olasd> as for checking if the repository isn't broken, `git log -p` should only show symbolic links (to long filenames in the git-annex objects namespace) being added
14:28 <+moranegg> thanks for that too