File: manual_update_of_.git__47__annex__47__objects.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (8 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
Let's suppose that I've manually modified files in .git/annex/objects,
for example I ran an rsync or some other file synchronization software
to copy files. As a result, some objects have disappeared, others have
appeared. After that `git annex whereis .' displays stale information,
it doesn't take the manual modifications to accound. `git annex fsck'
seems to fix this, but it runs the rehashing of all new files, so it's
slow. Is there a fast alternative, which notices all the object file
changes, trusts them, and just updates .git/annex/index quickly?