summaryrefslogtreecommitdiff
path: root/Command
Commit message (Collapse)AuthorAge
* 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.
* split out Git/Command.hsGravatar Joey Hess2011-12-14
|
* split more stuff out of Git.hsGravatar Joey Hess2011-12-14
|
* split out three modules from GitGravatar Joey Hess2011-12-13
| | | | | Constructors and configuration make sense in separate modules. A separate Git.Types is needed to avoid cycles.
* split out Git/Ref.hsGravatar Joey Hess2011-12-12
|
* reinject: Add a sanity check for using an annexed file as the source file.Gravatar Joey Hess2011-12-12
|
* separate operationsGravatar Joey Hess2011-12-10
|
* sync: New command that synchronises the local repository and default remote, ↵Gravatar Joey Hess2011-12-09
| | | | by running git commit, pull, and push for you.
* some work on avoiding partial functionsGravatar Joey Hess2011-12-09
| | | | | There are still hundreds of places that use partial functions head, tail, init, and last.
* inverted logicGravatar Joey Hess2011-12-09
|
* cleanupGravatar Joey Hess2011-12-09
|
* unannex improvementsGravatar Joey Hess2011-12-09
| | | | | | | | | Added files don't have to be committed before they can be unannexed. unannex no longer commits existing staged changes unannex of the last file in a directory now works, before it failed because git rm deleted the directory out from under it,
* factor out a stopUnlessGravatar Joey Hess2011-12-09
| | | | code melt for lunch
* hslintGravatar Joey Hess2011-12-09
|