When I add a file manually with git annex add
it works like expected: the file is replaced by a symlink pointing to a file in .git/objects.
But with assistant or watch, I end up with a copy in my working tree.
Is this by design?
I use version 10.20240831-gb3dc65615318ffed194dfb85e631482d4515a180 I tried it on a linux box with btrfs and on WSL2 with ext4.
Found that
git annex lock .
fix it
I guess when copied it kept in unlocked state which may be nothing but absence of symlink (layman term) So by this logic when I tried git annex lock . it fixed this problem.
Not sure if here are any option/config to control this that when file first copies it should be directly put into locked state.
Thanks