summaryrefslogtreecommitdiff
path: root/Annex
Commit message (Collapse)AuthorAge
* improve propigation of commits from adjusted branchesGravatar Joey Hess2016-03-11
| | | | | | | | | | | Only reverse adjust the changes in the commit, which means that adjustments do not need to be generally cleanly reversable. For example, an adjustment can unlock all locked files, but does not need to worry about files that were originally unlocked when reversing, because it will only ever be run on files that have been changed. So, it's ok if it locks all files when reversed, or even leaves all files as-is when reversed.
* Merge branch 'master' into adjustedbranchGravatar Joey Hess2016-03-11
|\
| * refactorGravatar Joey Hess2016-03-09
| |
| * Always try to thaw content, even when annex.crippledfilesystem is set.Gravatar Joey Hess2016-03-09
| |
| * Merge branch 'no-cbits'Gravatar Joey Hess2016-03-05
| |\
* | | rebase on top of updated original branchGravatar Joey Hess2016-03-03
| | |
* | | fix abs filepath generationGravatar Joey Hess2016-03-03
| | |
* | | change name of adjusted branches to eg adjusted/master(unlocked)Gravatar Joey Hess2016-03-03
| | | | | | | | | | | | | | | | | | | | | Using adjusted/unlocked/master made lots of git stuff dealing with "master" complain that it was ambiguous. This new appoach is more like view branch names, and shows the adjustment right there in the branch display even if only the basename of the branch is shown.
* | | working toward adjusted commit propigationGravatar Joey Hess2016-03-03
| | |
* | | Merge branch 'master' into adjustedbranchGravatar Joey Hess2016-03-03
|\| |
* | | can't checkout adjusted branch while index is still lockedGravatar Joey Hess2016-03-03
| | | | | | | | | | | | | | | | | | | | | There's a race here, but entering an adjusted branch for the first time is not something to do when a commit is being made at the same time. Although, may want to prevent the assistant from committing while entering the adjusted branch.
* | | push original branch, not adjusted branchGravatar Joey Hess2016-03-03
| | |
* | | lock index while making index-less commitsGravatar Joey Hess2016-03-03
| | | | | | | | | | | | | | | Avoids race with another git commit at the same time adjusted branch is being updated.
| * | clarifyGravatar Joey Hess2016-03-01
| | |
| * | Fix data loss that can occur when annex.pidlock is set in a repository.Gravatar Joey Hess2016-03-01
| | |
* | | remove debugGravatar Joey Hess2016-02-29
| | |
* | | update keys database when adjusting branchesGravatar Joey Hess2016-02-29
| | |
* | | implement updateAdjustedBranchGravatar Joey Hess2016-02-29
| | |
* | | make assistant aware of adjusted branches when mergingGravatar Joey Hess2016-02-29
| | |
* | | make sync aware of adjusted branchesGravatar Joey Hess2016-02-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So, it will pull and push the original branch, not the adjusted one. And, for merging, it will use updateAdjustedBranch (not implemented yet). Note that remaining uses of Git.Branch.current need to be checked too; for things that should act on the original branch, and not the adjusted branch.
* | | include adjustment in the adjusted branch nameGravatar Joey Hess2016-02-29
| | | | | | | | | | | | Allows it to be recovered easily.
* | | Merge branch 'master' into adjustedbranchGravatar Joey Hess2016-02-29
|\| |
| * | metadata: Added -r to remove all current values of a field.Gravatar Joey Hess2016-02-29
| | |
| * | Support --metadata field<number, --metadata field>number etc to match ranges ↵Gravatar Joey Hess2016-02-27
| | | | | | | | | | | | | | | | | | | | | of numeric values. Similarly (well, for free), support preferred content expressions like metadata=field<number and metadata=field>number
| * | Include magic database in the linux and OSX standalone builds.Gravatar Joey Hess2016-02-26
| | |
* | | adjusted branches, proof of conceptGravatar Joey Hess2016-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "git annex adjust" may be a temporary interface, but works for a proof of concept. It is pretty fast at creating the adjusted branch. The main overhead is injecting pointer files. It might be worth optimising that by reusing the symlink target as the pointer file content. When I tried to do that, the problem was that the clean filter doesn't use that same format, and so git thought files had changed. Could be dealt with, perhaps make the clean filter use symlink format for pointer files when on an adjusted branch? But the real overhead is in checking out the branch, when git runs the smudge filter once per file. That is perhaps too slow to be usable, although it may only affect initial checkout of the branch, and not updates. TBD.
* | | add hashPointerFile'Gravatar Joey Hess2016-02-25
|/ /
* | add catCommitGravatar Joey Hess2016-02-25
| |
* | refactorGravatar Joey Hess2016-02-25
| |
* | Avoid crashing when built with MagicMime support, but when the magic ↵Gravatar Joey Hess2016-02-23
| | | | | | | | database cannot be loaded.
* | Fix memory leak in last release, which affected commands like git-annex ↵Gravatar Joey Hess2016-02-19
| | | | | | | | | | | | | | status when a large non-annexed file is present in the work tree. The whole file was strictly read, and so buffered in memory, and remained buffered for some time when running git-annex status.
* | fix windows buildGravatar Joey Hess2016-02-16
| |
* | fix numerous problem with test suite on crippled filesystems etcGravatar Joey Hess2016-02-16
| |
* | annex.addunlockedGravatar Joey Hess2016-02-16
| | | | | | | | | | | | | | * add, addurl, import, importfeed: When in a v6 repository on a crippled filesystem, add files unlocked. * annex.addunlocked: New configuration setting, makes files always be added unlocked. (v6 only)
* | escape slashes in annex pointer filesGravatar Joey Hess2016-02-16
| | | | | | | | | | | | | | | | | | | | | | The problem with having the slashes unescaped is, it broke parsing, since the parser takes the filename to get the part containing the key. That particularly affected URL keys. This makes the format be the same as symlinks point to, which keeps things simple. Existing pointer files will continue to work ok.
* | force strict file readGravatar Joey Hess2016-02-15
| | | | | | | | | | | | Avoid possibly having the file open still when it gets deleted. Needed on Windows, particularly.
* | allow \r in pointer filesGravatar Joey Hess2016-02-15
| | | | | | | | | | git-annex doesn't write \r, but it can be present due to line ending conversions or perhaps user edits.
* | Windows: Fix v6 unlocked files to actually work.Gravatar Joey Hess2016-02-15
| | | | | | | | | | Pointer files were not being treated as annex content, so "git annex get" didn't replace them with the object.
* | When initializing a v6 repo on a crippled filesystem, don't force it into ↵Gravatar Joey Hess2016-02-15
| | | | | | | | direct mode.
* | more windows build fixGravatar Joey Hess2016-02-15
| |
* | fix windows buildGravatar Joey Hess2016-02-15
| |
| * move old ghc compat code into separate module; eliminate WITH_CLIBSGravatar Joey Hess2016-02-15
|/ | | | | This avoids hsc2hs being run except when building for the old version of ghc. Should speed up builds.
* create directory for transfer lock file, and catch perm errorGravatar Joey Hess2016-02-12
| | | | | | | | | | | | | | | | | Before, the call to mkProgressUpdater created the directory as a side-effect, but since that ignored failure to create it, this led to a "does not exist" exception when the transfer lock file was created, rather than a permissions error. So, make sure the directory exists before trying to lock the file in it. When a PermissionDenied exception is caught, skip making the transfer lock. This lets downloads from readonly remotes happen. If an upload is being tried, and the lock file can't be written due to permissions, then probably the actual transfer will fail for the same reason, so I think it's ok that it continues w/o taking the lock in that case.
* init: Fix bugs in submodule .git symlink fixup, that occurred when ↵Gravatar Joey Hess2016-02-08
| | | | initializing in a subdirectory of a submodule and a submodule of a submodule.
* matchexpression: Added --largefiles option to parse an annex.largefiles ↵Gravatar Joey Hess2016-02-03
| | | | expression.
* annex.largefiles: Add support for mimetype=text/* etc, when git-annex is ↵Gravatar Joey Hess2016-02-03
| | | | linked with libmagic.
* Limit annex.largefiles parsing to the subset of preferred content ↵Gravatar Joey Hess2016-02-03
| | | | | | expressions that make sense in its context. So, not "standard" or "lackingcopies", etc.
* simplifyGravatar Joey Hess2016-02-03
|
* refactorGravatar Joey Hess2016-02-03
|
* avoid unnecessary building of a one-off MapGravatar Joey Hess2016-02-03
| | | | A case lookup should be more efficient.