aboutsummaryrefslogtreecommitdiff
path: root/Annex
Commit message (Collapse)AuthorAge
...
* reinject: When src file's content cannot be verified, leave it alone, ↵Gravatar Joey Hess2016-04-20
| | | | instead of deleting it.
* fsck: Warn when core.sharedRepository is set and an annex object file's ↵Gravatar Joey Hess2016-04-14
| | | | | | | | | | | | | | write bit is not set and cannot be set due to the file being owned by a different user. Made all Annex.Perms file mode changing functions ignore errors when core.sharedRepository is set, because the file might be owned by someone else. I don't fancy getting bug reports about crashes due to set modes in this configuration, which is a very foot-shooty configuration in the first place. The fsck warning is necessary because old repos kept files mode 444, which doesn't allow locking them, and so if the mode remains 444 due to the file being owned by someone else, the user should be told about it.
* Preserve execute bits of unlocked files in v6 mode.Gravatar Joey Hess2016-04-14
| | | | | | | | | | | | | | When annex.thin is set, adding an object will add the execute bits to the work tree file, and this does mean that the annex object file ends up executable. This doesn't add any complexity that wasn't already present, because git annex add of an executable file has always ingested it so that the annex object ends up executable. But, since an annex object file can be executable or not, when populating an unlocked file from one, the executable bit is always added or removed to match the mode of the pointer file.
* add AdjBranch newtype; some simplicationsGravatar Joey Hess2016-04-09
|
* change name of basis branchGravatar Joey Hess2016-04-09
| | | | Making the name look too much like the adjusted branch was ambiguous.
* fix master push overwrite race when updating adjusted branch, by maintaining ↵Gravatar Joey Hess2016-04-09
| | | | basis ref
* hard links on windowsGravatar Joey Hess2016-04-08
| | | | | * annex.thin and annex.hardlink are now supported on Windows. * unannex --fast now makes hard links on Windows.
* avoid withWorkTreeRelated affecting annex symlink calculationGravatar Joey Hess2016-04-08
|
* fix commit tree after merge into adjusted branchGravatar Joey Hess2016-04-06
|
* run out of tree merge with --no-ffGravatar Joey Hess2016-04-06
| | | | | | This is how direct mode does it too, and somehow, for reasons that currently escape me, this makes git merge not care if it's run with an empty work tree.
* fix auto merge conflict resolution when doing out of tree merge for adjusted ↵Gravatar Joey Hess2016-04-06
| | | | branch
* new method for merging changes into adjusted branch that avoids unncessary ↵Gravatar Joey Hess2016-04-06
| | | | | | merge conflicts Still needs work when there are actual merge conflicts.
* v6: Close pointer file handles more quickly, to avoid problems on Windows.Gravatar Joey Hess2016-04-04
| | | | | | Was using L.readFile, so the Handle would remain open until the garbage collector got around to it. Changed to explicit open and close, so we know it's always closed when the function returns.
* todoGravatar Joey Hess2016-04-04
|
* deal with cloning a repo that has an ajdusted branch checked outGravatar Joey Hess2016-04-04
|
* make way for git checkout outputGravatar Joey Hess2016-04-04
|
* Upgrading a direct mode repository to v6 has changed to enter an adjusted ↵Gravatar Joey Hess2016-04-04
| | | | | | | | unlocked branch. This makes the direct mode to v6 upgrade able to be performed in one clone of a repository without affecting other clones, which can continue using v5 and direct mode.
* fixed merging of changes from adjusted branch + a remoteGravatar Joey Hess2016-03-31
|
* made some progress on syncing adjusted branches, but still buggyGravatar Joey Hess2016-03-31
|
* add reflog messagesGravatar Joey Hess2016-03-31
|
* clean up handling of commit lockGravatar Joey Hess2016-03-31
| | | | | Closing the lock manually caused a later exception when the bracket tried to close it again.
* init: Automatically enter the adjusted unlocked branch when in a v6 repo on ↵Gravatar Joey Hess2016-03-29
| | | | a filesystem not supporting symlinks.
* git annex add in adjusted unlocked branchGravatar Joey Hess2016-03-29
| | | | | Cached the current branch lookup just because it seems unnecessary overhead to run an extra git command per add to query the current branch.
* limit git annex adjust to v6 modeGravatar Joey Hess2016-03-29
| | | | doesn't work in v5
* remove hashPointerFile'Gravatar Joey Hess2016-03-29
| | | | | no longer needed now that hashPointerFile uses a long-running git hash-object handle
* Merge branch 'master' into adjustedbranchGravatar Joey Hess2016-03-29
|\
| * reuse annex's HashObjectHandleGravatar Joey Hess2016-03-14
| |
| * Sped up git-annex merge by using git hash-object --batch.Gravatar Joey Hess2016-03-14
| | | | | | | | | | | | | | This does mean that it has to write out temp files containing updated objects for the merge. So may use more disk space, and disk IO, but that should generally win out over needing to launch N separate git hash-object processes.
| * use hash-object --batchGravatar Joey Hess2016-03-14
| | | | | | | | Handle was plumbed through, but not used.
| * Sped up git-annex add in direct mode and v6 by using git hash-object --batch.Gravatar Joey Hess2016-03-14
| | | | | | | | Speeds up hashSymlink and hashPointerFile.
| * followupGravatar Joey Hess2016-03-14
| |
| * Correct git-annex info to include unlocked files in v6 repository.Gravatar Joey Hess2016-03-14
| | | | | | | | | | | | | | | | | | | | | | An unlocked present file does not have a pointer file in the worktree, so info skipped counting it. It may be that unused was also affected by the problem, but it seemed not to be in my tests. I think because of the use of the associatedFilesFilter. This fix slows down both info and unused a little bit, since they have to query the contents of files from git, but only when handling unlocked files.
* | implement another adjustment -- easy to do now!Gravatar Joey Hess2016-03-11
| |
* | simplify adjustment reversalGravatar Joey Hess2016-03-11
| |
* | fix deletion of files in adjustTreeGravatar Joey Hess2016-03-11
| |
* | 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
| | |