merge: Support --json and --json-error-messages and --json-progress
Seems unlikely to be very useful, but trivial. And, this completes the story that git-annex sync does not need json, since every sub-operation is available in a command that does support json. (Well, except for committing, but that's not a git-annex command.) Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
parent
daaf7e10be
commit
c98fb0b637
4 changed files with 17 additions and 8 deletions
|
@ -16,9 +16,10 @@ import Command.Sync (prepMerge, mergeLocal, mergeConfig, merge, notOnlyAnnexOpti
|
|||
import Git.Types
|
||||
|
||||
cmd :: Command
|
||||
cmd = command "merge" SectionMaintenance
|
||||
"merge changes from remotes"
|
||||
(paramOptional paramRef) (seek <$$> optParser)
|
||||
cmd = withAnnexOptions [jsonOptions] $
|
||||
command "merge" SectionMaintenance
|
||||
"merge changes from remotes"
|
||||
(paramOptional paramRef) (seek <$$> optParser)
|
||||
|
||||
data MergeOptions = MergeOptions
|
||||
{ mergeBranches :: [String]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue