git-annex/Logs
Joey Hess 10138056dc
v6: avoid accidental conversion when annex.largefiles is not configured
v6: When annex.largefiles is not configured for a file, running git add or
git commit, or otherwise using git to stage a file will add it to the annex
if the file was in the annex before, and to git otherwise. This is to avoid
accidental conversion.

Note that git-annex add's behavior has not changed, for reasons explained
in the added comment.

Performance: No added overhead when annex.largefiles is configured.
When not configured, there is an added call to catObjectMetaData,
which involves a round trip through git cat-file --batch.
However, the earlier catKeyFile primes the cache for it.

This commit was supported by the NSF-funded DataLad project.
2018-08-27 14:51:10 -04:00
..
Chunk remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Difference remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
PreferredContent Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Presence avoid accidental Show of VectorClock 2017-08-14 14:51:54 -04:00
Trust finish fixing inverted Ord for TrustLevel 2018-04-13 15:17:54 -04:00
Activity.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Chunk.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Config.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Difference.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Export.hs cleanup imports 2017-09-13 12:53:19 -04:00
File.hs more core.sharedRepository perm fixes 2018-01-04 14:46:58 -04:00
FsckResults.hs Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. 2018-01-02 17:25:25 -04:00
Group.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Line.hs Split lines in the git-annex branch on \r as well as \n, to deal with \r\n terminated lines written by some versions of git-annex on Windows. 2016-05-27 11:45:13 -04:00
Location.hs avoid git annex info remote buffering list of keys 2018-04-26 16:13:05 -04:00
MapLog.hs avoid insertWith' depreaction warning 2018-04-22 13:28:31 -04:00
MetaData.hs Warn when metadata is inherited from a previous version of a file 2017-09-28 12:56:35 -04:00
Multicast.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
NumCopies.hs vicfg: Include the numcopies configuation. 2017-01-30 15:27:25 -04:00
PreferredContent.hs v6: avoid accidental conversion when annex.largefiles is not configured 2018-08-27 14:51:10 -04:00
Presence.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Remote.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
RemoteState.hs Added GIT_ANNEX_VECTOR_CLOCK environment variable 2017-08-14 14:19:58 -04:00
Schedule.hs Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. 2018-01-02 17:25:25 -04:00
SingleValue.hs avoid accidental Show of VectorClock 2017-08-14 14:51:54 -04:00
TimeStamp.hs Optimised git-annex branch log file timestamp parsing. 10% speedup 2016-09-29 14:04:53 -04:00
Transfer.hs Fix reversion introduced in 6.20171214 that caused concurrent transfers to incorrectly fail with "transfer already in progress". 2018-03-14 18:55:34 -04:00
Transitions.hs avoid accidental Show of VectorClock 2017-08-14 14:51:54 -04:00
Trust.hs finish fixing inverted Ord for TrustLevel 2018-04-13 15:17:54 -04:00
Unused.hs Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. 2018-01-02 17:25:25 -04:00
UUID.hs avoid insertWith' depreaction warning 2018-04-22 13:28:31 -04:00
UUIDBased.hs avoid accidental Show of VectorClock 2017-08-14 14:51:54 -04:00
View.hs Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. 2018-01-02 17:25:25 -04:00
Web.hs added annex.commitmessage 2018-08-02 14:06:06 -04:00