summaryrefslogtreecommitdiff
path: root/Command
Commit message (Collapse)AuthorAge
* finished hlint passGravatar Joey Hess2011-07-15
|
* unannex: only commit, no -aGravatar Joey Hess2011-07-14
| | | | -a is actually not needed; only commit staged changes
* unannex: Clean up use of git commit -a.Gravatar Joey Hess2011-07-14
| | | | | | | | This was more complex than would be expected. unannex has to use git commit -a since it's removing files from git; git commit filelist won't do. Allow commands to be added to the Git queue that have no associated files, and run such commands once.
* add: Be even more robust to avoid ever leaving the file seemingly deleted.Gravatar Joey Hess2011-07-07
| | | | | A failure at any point after the file is annexed will result in an undo that puts the original file back into place and wipes the location log.
* add: Avoid a failure mode that resulted in the file seemingly being deleted ↵Gravatar Joey Hess2011-07-07
| | | | (content put in the annex but no symlink present).
* renameGravatar Joey Hess2011-07-05
|
* renameGravatar Joey Hess2011-07-05
|
* factor out RemoteLogGravatar Joey Hess2011-07-05
|
* remove unused backend machineryGravatar Joey Hess2011-07-05
| | | | | | | | | | | | | The only remaining vestiage of backends is different types of keys. These are still called "backends", mostly to avoid needing to change user interface and configuration. But everything to do with storing keys in different backends was gone; instead different types of remotes are used. In the refactoring, lots of code was moved out of odd corners like Backend.File, to closer to where it's used, like Command.Drop and Command.Fsck. Quite a lot of dead code was removed. Several data structures became simpler, which may result in better runtime efficiency. There should be no user-visible changes.
* better display of thrown errorsGravatar Joey Hess2011-07-05
|
* uninit: Use unannex in --fast mode, to support unannexing multiple files ↵Gravatar Joey Hess2011-07-04
| | | | that link to the same content.
* fix usage for setkeyGravatar Joey Hess2011-07-04
|
* unannex: In --fast mode, file content is left in the annex, and a hard link ↵Gravatar Joey Hess2011-07-04
| | | | made to it.
* uninit: delete .git/annex/Gravatar Joey Hess2011-07-04
|
* uninit: Delete the git-annex branch.Gravatar Joey Hess2011-07-04
|
* download urls via tmp file, and support resumingGravatar Joey Hess2011-07-01
|
* add the addurl commandGravatar Joey Hess2011-07-01
|
* add web special remoteGravatar Joey Hess2011-07-01
| | | | | Generalized LocationLog to PresenceLog, and use a presence log to record urls for the web special remote.
* renamed GitRepo to GitGravatar Joey Hess2011-06-30
| | | | It was always imported qualified as Git anyway
* generalized safeWriteFile to viaTmpGravatar Joey Hess2011-06-30
|
* factor out file list stuff from GitRepoGravatar Joey Hess2011-06-29
| | | | | GitRepo is getting too large an interface; these all fit nicely into a submodule.
* Merge branch 'master' into v3Gravatar Joey Hess2011-06-29
|\ | | | | | | | | Conflicts: debian/changelog
| * --force will cause add, etc, to operate on ignored files.Gravatar Joey Hess2011-06-29
| |
* | avoid unnecessary read of trust.logGravatar Joey Hess2011-06-23
| |
* | unused command updates for branchesGravatar Joey Hess2011-06-23
| | | | | | | | | | Now that branches are more likely, unused needs to more explicitly warn that it does not look in them.
* | v3 upgrade code worksGravatar Joey Hess2011-06-23
| | | | | | | | but write the index file a lot, so slow
* | rewrite loggedkeys to use git-annex branchGravatar Joey Hess2011-06-22
| | | | | | | | | | | | That sucking sound is a whole page of code vanishing to be replaced with return . catMaybes . map (logFileKey . takeFileName) =<< Branch.files What can I say, git is my database, and haskell my copilot.
* | add merge subcommandGravatar Joey Hess2011-06-22
| |
* | improve bare repo handingGravatar Joey Hess2011-06-22
| | | | | | | | | | Many more commands can work in bare repos now, thanks to the git-annex branch.
* | improve version checking for v3Gravatar Joey Hess2011-06-22
| | | | | | | | | | | | | | | | | | Do not set annex.version whenever any command is run. Just do it in init. This ensures that, if a repo has annex.version=3, it has a git-annex branch, so we don't have to run a command every time to check for the branch. Remove the old ad-hoc logic for v0 and v1, to simplify version checking.
* | store trust.log and remote.log in the git-annex branchGravatar Joey Hess2011-06-22
| | | | | | | | .. and I think that's everything that will use the branch
* | fixed logFileGravatar Joey Hess2011-06-22
| |
* | update for git-annex branchGravatar Joey Hess2011-06-22
| | | | | | | | | | | | | | | | | | | | | | stop changing gitattributes on init create git-annex branch on init ugly special case for init in a bare repository goes away, yay! git annex init is also faster, at least in a large existing repo, as it does not need to run the slow 'git add'
* | stop undoing gitattributes on uninitGravatar Joey Hess2011-06-22
| | | | | | | | v2 upgrade will undo them
* | move LocationLog into Annex monad from IOGravatar Joey Hess2011-06-22
|/ | | | It will need to run in Annex so it can use Branch
* unlock: Made atomic.Gravatar Joey Hess2011-06-20
|
* get --from is the same as copy --fromGravatar Joey Hess2011-06-09
| | | | | | | | get not honoring --from has surprised me a few times, so least surprise suggests it should just behave like copy --from. This leaves the difference between get and copy being that copy always requires the remote to copy from, while get will decide whether to get a file from a key/value store or a remote.
* rename modules for data types into Types/ directoryGravatar Joey Hess2011-06-01
|
* better types allowed breaking module dep loopGravatar Joey Hess2011-06-01
|
* Add --trust, --untrust, and --semitrust options.Gravatar Joey Hess2011-06-01
|
* remove unnecessary importsGravatar Joey Hess2011-06-01
|
* Somewhat sped up `git commit` of modifications to unlocked files.Gravatar Joey Hess2011-05-31
| | | | | | | | | | | | Avoid git reset here too, so I no longer need to care that it's much more expensive than seems wise (but I asked the git list about that anyway). It's not necessary to reset the staged file content from the index, as the `git add` of the the symlink will replace it anyway. `git commit` of unlocked files is still slow, since git still has to shove their entire content into the index, only to have it be thrown away. So it's still better to use `git annex add`
* Fix locking of files with staged changes.Gravatar Joey Hess2011-05-31
| | | | | Previously, lock would skip files that had staged changes, but that is counterintuitive, I think.
* Massively sped up `git annex lock` by avoiding use of the uber-slow `git ↵Gravatar Joey Hess2011-05-31
| | | | reset`, and only running `git checkout` once, even when many files are being locked.
* unused --from . checks local repo, for consistencyGravatar Joey Hess2011-05-28
|
* bugfix: fix unused list numberingGravatar Joey Hess2011-05-28
| | | | Introduced in 43f0a666f0f6cc152a2b778921831d6d7daedcaf
* tweakGravatar Joey Hess2011-05-28
|
* improve unused command's outputGravatar Joey Hess2011-05-28
| | | | | Display the name of the remote being checked, with "." for the current remote, echoing the way describe takes that to change its description.
* improve error message when no remote name is specifiedGravatar Joey Hess2011-05-28
| | | | list available remotes in case user wanted to use or change one of them
* Data.Tuple.swap not available with ghc 6.12.3Gravatar Joey Hess2011-05-28
|