Skip to content

Commit

Permalink
dag get should be a read only command
Browse files Browse the repository at this point in the history
added CmdDagGet to the read only command set.

tried to add a test, but dag get needs tests in general

License: MIT
Signed-off-by: Juan Batiz-Benet
  • Loading branch information
jbenet authored and whyrusleeping committed Dec 14, 2016
1 parent 4cb236c commit bb85dd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ var rootROSubcommands = map[string]*cmds.Command{
"patch": ocmd.ObjectPatchCmd,
},
},
"dag": &cmds.Command{
Subcommands: map[string]*cmds.Command{
"get": dag.DagGetCmd,
},
},
"refs": RefsROCmd,
"resolve": ResolveCmd,
"version": VersionCmd,
Expand Down

1 comment on commit bb85dd9

@GitCop
Copy link

@GitCop GitCop commented on bb85dd9 Dec 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.