we can't depend on patches having filenames. Thanks git!
authorJesse Vincent <jesse@bestpractical.com>
Mon, 5 Jul 2010 11:41:28 +0000 (12:41 +0100)
committerJesse Vincent <jesse@bestpractical.com>
Mon, 5 Jul 2010 14:53:40 +0000 (16:53 +0200)
Porting/rt_list_patches

index e8161fc..0628702 100755 (executable)
@@ -19,7 +19,7 @@ if [ -z "$1"  ]; then
 fi
 
 if [ -z "$2" ]; then
-    rt show ticket/$1/attachments  |grep -v ":\s*(" |grep -v "^id"
+    rt show ticket/$1/attachments  |grep -v "^id" |grep -v multipart\/
     exit
 fi