[ditz-talk] [PATCH] Make issue-claiming use pager

Daniel Kalør daniel at kalor.dk
Sun Nov 9 07:55:19 EST 2008


---
 lib/ditz/plugins/issue-claiming.rb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/ditz/plugins/issue-claiming.rb b/lib/ditz/plugins/issue-claiming.rb
index d5240a1..e06c256 100644
--- a/lib/ditz/plugins/issue-claiming.rb
+++ b/lib/ditz/plugins/issue-claiming.rb
@@ -122,6 +122,7 @@ class Operator
     if issues.empty?
       puts "No issues."
     else
+      run_pager config
       print_todo_list_by_release_for project, issues
     end
   end
@@ -144,6 +145,7 @@ class Operator
     if issues.empty?
       puts "No issues."
     else
+      run_pager config
       issues.keys.sort.each do |c|
         puts "#{c}:"
         puts todo_list_for(issues[c], :show_release => true)
@@ -166,6 +168,7 @@ class Operator
     if issues.empty?
       puts "No issues."
     else
+      run_pager config
       print_todo_list_by_release_for project, issues
     end
   end
-- 
1.6.0.3



More information about the ditz-talk mailing list