summaryrefslogtreecommitdiff
path: root/Command
Commit message (Collapse)AuthorAge
* better data typeGravatar Joey Hess2012-01-06
|
* log --max-count=nGravatar Joey Hess2012-01-06
|
* change log displayGravatar Joey Hess2012-01-06
| | | | | | | | Including the file in the lines behaves better when limiting with --after, since only files that changed in the time period are shown. Still not fully happy with the line layout, but putting the +/- first followed by the date seems a good change.
* log --after=dateGravatar Joey Hess2012-01-06
|
* use a zipperGravatar Joey Hess2012-01-06
|
* log: New command that displays the location log for file, showing each ↵Gravatar Joey Hess2012-01-06
| | | | | | | | | | | | | | | repository they were added to and removed from. This needs to run git log on the location log files to get at all past versions of the file, which tends to be a bit slow. It would be possible to make a version optimised for showing the location logs for every key. That would only need to run git log once, so would be faster, but it would need to process an enormous amount of data, so would not speed up the individual file case. In the future it would be nice to support log --format. log --json also doesn't work right yet.
* tweakGravatar Joey Hess2012-01-06
|
* look up --to and --from remote names only onceGravatar Joey Hess2012-01-06
| | | | This will speed up commands like move and drop.
* more command-specific optionsGravatar Joey Hess2012-01-06
| | | | | | | | | | | | | | | | | | | | | Made --from and --to command-specific options. Added generic storage for values of command-specific options, which allows removing some of the special case fields in AnnexState. (Also added generic storage for command-specific flags, although there are not yet any.) Note that this storage uses a Map, so repeatedly looking up the same value is slightly more expensive than looking up an AnnexState field. But, the value can be looked up once in the seek stage, transformed as necessary, and passed in a closure to the start stage, and this avoids that overhead. Still, I'm hesitant to use this for things like force or fast flags. It's probably best to reserve it for flags that are only used by a few commands, or options like --from and --to that it's important only be allowed to be used with commands that implement them, to avoid user confusion.
* per-command optionsGravatar Joey Hess2012-01-05
| | | | | | Finally commands can define their own options. Moved --format and --print0 to be options only of find.
* fsck: Do backend-specific check before checking numcopies is satisfied.Gravatar Joey Hess2012-01-03
| | | | | This way, when a checksum check fails and the content is moved aside, the numcopies check also warns if there are not enough copies.
* Added remote.name.annex-web-options configuration setting, which can be used ↵Gravatar Joey Hess2012-01-02
| | | | to provide parameters to whichever of wget or curl git-annex uses (depends on which is available, but most of their important options suitable for use here are the same).
* tweakGravatar Joey Hess2012-01-02
|
* skip local remotes that are not available (ie, not mounted)Gravatar Joey Hess2011-12-31
| | | | | | | With --fast, unavailable local remotes are filtered out of the fast set. This way, if there are local remotes, --fast always acts only on them, and if none are mounted, acts on nothing. This consistency is better than --fast acting on different remotes depending on what's mounted.
* type alias cleanupGravatar Joey Hess2011-12-31
|
* refactor and check for a detached HEADGravatar Joey Hess2011-12-31
|
* better filtering out of special remotesGravatar Joey Hess2011-12-31
|
* never pick special remotes in --fastGravatar Joey Hess2011-12-31
| | | | even if they have the lowest cost, we cannot use them
* remove unnecessary checkGravatar Joey Hess2011-12-31
| | | | | mergeLocal always creates the local sync branch, so no need to check that it exists later.
* refactorGravatar Joey Hess2011-12-31
|
* really fix check that remote needs mergedGravatar Joey Hess2011-12-31
|
* tweakGravatar Joey Hess2011-12-31
|
* tweakGravatar Joey Hess2011-12-31
|
* fix check that remote branch needs mergedGravatar Joey Hess2011-12-31
|
* minor cleanupsGravatar Joey Hess2011-12-31
| | | | mergeFrom is never called on branches that don't exist anymore
* avoid syncing remotes configured annex-ignore, unless explicitly specifiedGravatar Joey Hess2011-12-31
|
* sync --fast: Selects some of the remotes with the lowest annex.cost and ↵Gravatar Joey Hess2011-12-30
| | | | syncs those, in addition to any specified at the command line.
* push when git-annex branch changedGravatar Joey Hess2011-12-30
| | | | I was too heavy-handed in optimising away pushes
* automated syncingGravatar Joey Hess2011-12-30
| | | | | | Some changes to make automated syncing nicer. Merge from both the remote's $branch and its synced/$branch; either could have new changes. Create synced/$branch on the remote when pushing.
* automatically create the syncbranchGravatar Joey Hess2011-12-30
|
* refactorGravatar Joey Hess2011-12-30
|
* refactorGravatar Joey Hess2011-12-30
|
* check that synced/master exists before trying to use itGravatar Joey Hess2011-12-30
| | | | and a nice error message if syncing is not set up yet
* check if branches are up-to-date before merging, pushingGravatar Joey Hess2011-12-30
| | | | | | This optimises away the need to run anything in some common cases. It's particularly useful on push; no need to push if the tracking branch we just pulled is the same as the branch we're going to push.
* improve wordingGravatar Joey Hess2011-12-30
|
* message cleanupGravatar Joey Hess2011-12-30
|
* avoid using Git.Ref.describe except for when generating user messagesGravatar Joey Hess2011-12-30
| | | | | | | | The other uses of it can all be simplified using Git.Ref.base, Git.Ref.under, and show. In some cases, describe was being used to shorten the branch name unnecessarily, and I instead pass the fully qualified name to git.
* update to my indentation styleGravatar Joey Hess2011-12-30
|
* force git-annex branch update after fetching remotesGravatar Joey Hess2011-12-30
| | | | | | | | git-annex normally only runs the branch update once per run, for speed, but since this fetches new remote git-annex tracking branches, they need to be merged in after that fetch. An earlier call to Remote.byName was causing the update to run before the fetch sometimes, but it could have been anything. Just force the update to happen in the right place.
* By default, sync with all remotes having the synced/ branchGravatar Joachim Breitner2011-12-29
|
* Implement branch-syncing in Command.SyncGravatar Joachim Breitner2011-12-29
| | | | | as described in the previous commit to the documentation. The loggin UI is not great yet.
* reorder less expensive terminal firstGravatar Joey Hess2011-12-23
| | | | | Out of general principles, it did not seem to actually speed it up appreciably. (I suspect ghc is being smart.)
* find --jsonGravatar Joey Hess2011-12-23
|
* Format strings can be specified using the new --find option, to control what ↵Gravatar Joey Hess2011-12-22
| | | | is output by git annex find.
* improve outputGravatar Joey Hess2011-12-22
|
* map: --fast disables use of dot to display mapGravatar Joey Hess2011-12-20
| | | | Generally useful, and allows the test suite to test it.
* add back messageGravatar Joey Hess2011-12-16
|
* more partial function removalGravatar Joey Hess2011-12-15
| | | | | Left a few Prelude.head's in where it was checked not null and too hard to remove, etc.
* remove leftover debug printGravatar Joey Hess2011-12-15
|
* Properly handle multiline git config values.Gravatar Joey Hess2011-12-15
| | | | | | | | | | A crash on parsing was fixed a while ago. This adds support for fully correctly parsing multiline git config values, using git config --null. Since git-annex-shell configlist uses normal git config output, I left in support for that too; the two forms of config output can be easily identified by the parser. Since configlist only prints the annex.uuid config, there's no risk of multiline values there, so no need to change it.