summaryrefslogtreecommitdiff
path: root/Command/Unused.hs
Commit message (Collapse)AuthorAge
* 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.
* 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.
* 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.
* fixed logFileGravatar Joey Hess2011-06-22
|
* move LocationLog into Annex monad from IOGravatar Joey Hess2011-06-22
| | | | It will need to run in Annex so it can use Branch
* 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.
* status: New subcommand to show info about an annex, including its size.Gravatar Joey Hess2011-05-16
|
* simplified a bunch of Maybe handlingGravatar Joey Hess2011-05-15
|
* refactor some boilerplateGravatar Joey Hess2011-05-15
|
* unused: Now also lists files fsck places in .git/annex/bad/Gravatar Joey Hess2011-04-29
|
* unused/dropunused: support --fromGravatar Joey Hess2011-04-02
|
* clarify wordingGravatar Joey Hess2011-03-22
| | | | temp files are always assumed to be unused, in either mode
* fast modeGravatar Joey Hess2011-03-22
| | | | | | | | | | Add --fast flag, that can enable less expensive, but also less thurough versions of some commands. * Add --fast flag, that can enable less expensive, but also less thurough versions of some commands. * fsck: In fast mode, avoid checking checksums. * unused: In fast mode, just show all existing temp files as unused, and avoid expensive scan for other unused content.
* avoid version check before running version and upgrade commandsGravatar Joey Hess2011-03-19
| | | | | There are two types of commands; those that access the repository and those that don't. Sorted.
* first pass at using new keysGravatar Joey Hess2011-03-15
| | | | | | | It compiles. It sorta works. Several subcommands are FIXME marked and broken, because things that used to accept separate --backend and --key params need to be changed to accept just a --key that encodes all the key info, now that there is metadata in keys.
* Rethink filename encoding handling for display. Since filename encoding may ↵0.23Gravatar Joey Hess2011-03-12
| | | | or may not match locale settings, any attempt to decode filenames will fail for some files. So instead, do all output in binary mode.
* fix up commands that are trouble on bare reposGravatar Joey Hess2011-03-03
| | | | | Most will just abort. init does a basic init and gives a command to run elsewhere to finish it.
* update unicode FilePath handlingGravatar Joey Hess2011-02-11
| | | | | | | | Based on http://hackage.haskell.org/trac/ghc/ticket/3307 , whether FilePath contains decoded unicode varies by OS. So, add a configure check for it. Also, renamed showFile to filePathToString
* Fix display of unicode filenames.Gravatar Joey Hess2011-02-10
| | | | | | | | | Internally, the filenames are stored as un-decoded unicode. I tried decoding them, but then haskell tries to access the wrong files. Hmm. So, I've unhappily chosen option "B", which is to decode filenames before they are displayed.
* use forM_ in a few placesGravatar Joey Hess2011-01-31
|
* use mapM_Gravatar Joey Hess2011-01-31
|
* use Set instead of existence MapGravatar Joey Hess2011-01-30
| | | | | | more efficient and idiomatic I did try using Set.difference, it's still slower than my method.
* factor out pure codeGravatar Joey Hess2011-01-29
|
* Improved temp file handlingGravatar Joey Hess2011-01-28
| | | | | | | * Improved temp file handling. Transfers of content can now be resumed from temp files later; the resume does not have to be the immediate next git-annex run. * unused: Include partially transferred content in the list.
* use safewritefileGravatar Joey Hess2011-01-28
|
* better directory handlingGravatar Joey Hess2011-01-27
| | | | | | | | | | Rename Locations functions for better consitency, and make their values more consistent too. Used </> rather than manually building paths. There are still more places that manually do so, but are tricky, due to the behavior of </> when the second FilePath is absolute. So I only changed places where it obviously was relative.
* got rid of Core moduleGravatar Joey Hess2011-01-16
| | | | Most of it was to do with managing annexed Content, so put there
* always write log, so it's empty if nothing is unusedGravatar Joey Hess2011-01-12
|
* refactor in preparation for adding a git-annex-shell commandGravatar Joey Hess2010-12-30
|
* rename some stuff and prepare to break out more into Command/*Gravatar Joey Hess2010-12-30
|
* add a newlineGravatar Joey Hess2010-12-24
|
* finished hlintingGravatar Joey Hess2010-11-22
|
* fsck: Print warnings to stderr; --quiet can now be used to only see problems.Gravatar Joey Hess2010-11-15
|
* dropunusedGravatar Joey Hess2010-11-15
|
* unused: New subcommand, finds unused data (the global part of fsck).Gravatar Joey Hess2010-11-15