git-annex/Annex
Joey Hess eb40227d15 assistant direct mode file add/change bookkeeping
When a file is changed in direct mode, the old content is probably lost
(at least from the local repo), and bookeeping needs to be updated to
reflect this.

Also, synthetic add events are generated at assistant startup, so
make it detect when the file has not really changed, and avoid re-adding
it.

This does add the overhead of querying the runing git cat-file for the
key that's recorded in git for the file, each time a file is added or
modified in direct mode.
2012-12-25 15:48:15 -04:00
..
Content assistant direct mode file add/change bookkeeping 2012-12-25 15:48:15 -04:00
Branch.hs whitespace fixes 2012-12-13 00:45:27 -04:00
BranchState.hs remove git-annex branch read cache 2012-10-19 14:25:15 -04:00
CatFile.hs assistant direct mode file add/change bookkeeping 2012-12-25 15:48:15 -04:00
CheckAttr.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Content.hs added direct and indirect commands 2012-12-13 15:44:56 -04:00
Direct.hs assistant direct mode file add/change bookkeeping 2012-12-25 15:48:15 -04:00
Exception.hs fixes for transfer resume 2012-09-24 13:18:16 -04:00
Journal.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
LockPool.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Perms.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Queue.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Ssh.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
UUID.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Version.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Wanted.hs --auto fixes 2012-12-06 13:22:16 -04:00