Support non-alphanumeric ticket titles while staying compatible with
ticgit versions without this feature.  See http://bugs.debian.org/514282
for the original request.

Index: devel/lib/ticgit/ticket.rb
===================================================================
--- devel.orig/lib/ticgit/ticket.rb	2009-07-26 13:12:49.000000000 +0200
+++ devel/lib/ticgit/ticket.rb	2009-07-26 13:27:00.000000000 +0200
@@ -41,6 +41,8 @@
       ticket_hash['files'].each do |fname, value|
         if fname == 'TICKET_ID'
           tid = value
+        elsif fname == 'TICKET_TITLE'
+          t.title = base.git.gblob(value).contents
         else
           # matching
           data = fname.split('_')
@@ -78,6 +80,7 @@
         Dir.mkdir(ticket_name)
         Dir.chdir(ticket_name) do
           base.new_file('TICKET_ID', ticket_name)
+          base.new_file('TICKET_TITLE', title)
           base.new_file('ASSIGNED_' + email, email)
           base.new_file('STATE_' + state, state)
 
@@ -98,7 +101,7 @@
             end
           end            
         end
-	      
+              
         base.git.add
         base.git.commit("added ticket #{ticket_name}")
       end
@@ -211,4 +214,4 @@
 
     
   end
-end
\ No newline at end of file
+end
Index: devel/bin/ticgitweb
===================================================================
--- devel.orig/bin/ticgitweb	2009-07-26 13:26:59.000000000 +0200
+++ devel/bin/ticgitweb	2009-07-26 13:27:00.000000000 +0200
@@ -154,7 +154,7 @@
             %td
               %a{:href => "/ticket/#{t.ticket_id}" }
                 %code= t.ticket_id[0,6]
-            %td= t.title
+            %td&= t.title
             %td{:class => t.state}= t.state
             %td= t.opened.strftime("%m/%d")
             %td= t.assigned_name
@@ -167,7 +167,7 @@
 def show
   layout('ticket', %q{
   %center
-    %h1= @ticket.title
+    %h1&= @ticket.title
   
     %form{:action => "/a/add_tags/#{@ticket.ticket_id}", :method => 'POST'}
       %table
