bin/gitlink in gitlink-0.0.1 vs bin/gitlink in gitlink-0.0.2

- old
+ new

@@ -44,9 +44,11 @@ c.action do |global_options,options,args| %x(open "#{@base_project_url}/wiki") end end +default_command :project + pre do |global,command,options,args| no_repo_error = "gitlink only works from within git repos" raise no_repo_error unless %x(git rev-parse --is-inside-work-tree) @remote = global[:remote]