6 `git config submodule.mspec.url`
8 `git config --remove-section submodule.mspec`
11 `git config submodule.spec/frozen.url`
13 `git config --remove-section submodule.spec/frozen`
17 desc "Executed post update. Lets the new Rakefile perform any fixups"
19 last_commit = ENV['LAST']
21 Rake::Task['git:fixup'].invoke
24 desc "Switch to the commiter URL"
26 sh "git config remote.origin.url git@git.rubini.us:code"
27 puts "\nYou're now accessing rubinius via the committer URL."
30 desc "Switch to the anonymous URL"
32 sh "git config remote.origin.url git://git.rubini.us/code"
33 puts "\nYou're now accessing rubinius via the anonymous URL."
36 desc "Show the current status of the checkout"
44 system "(cd spec/ruby; git status)"
47 desc "Create a new topic branch"
49 total = `git branch`.scan("quick").size
53 default = "quick#{total + 1}"
55 name = Readline.readline "Topic name (default #{default}): "
59 sh "git checkout -b #{name}"
62 desc "Push all changes to the rubinius repository"
63 task :push => :update do
67 desc "Pull new commits from the rubinius repository"
68 task :update => :fixup do
69 cur = `git rev-parse HEAD`.strip
71 sh "rake git:post_update LAST=#{cur}"
76 desc "Make patches upto current"
78 sh "git format-patch HEAD^"
81 desc "Pull, build, spec, push"
82 task :safe_push => %w[git:pull build spec git:push]
84 desc "Pull, build, spec:full, push (very slow)"
85 task :really_safe_push => %w[git:pull build spec:full git:push]