lib/build-tool/commands/recipes/incoming.rb in build-tool-0.3 vs lib/build-tool/commands/recipes/incoming.rb in build-tool-0.3.1
- old
+ new
@@ -5,11 +5,11 @@
module BuildTool; module Commands; module Recipes
#
# BuildCommand
#
- class Fetch < Standard
+ class Incoming < Standard
name "incoming"
description "Show the incoming changes to the recipe from the repository."
def applicable?
@@ -39,10 +39,10 @@
recipe = BuildTool::Application::instance.recipe
repo = MJ::VCS::Git::Repository.new(recipe.global_path, $noop)
if @fetch
say "Fetching"
- repo.fetch()
+ repo.fetch("origin")
end
repo.log("HEAD..origin/master").each do |line|
say line
end