Detect description in quilt patches
[stgit] / stgit / commands / files.py
index d81bc25..0694d83 100644 (file)
@@ -37,7 +37,10 @@ options = [make_option('-s', '--stat',
                        help = 'show the diff stat',
                        action = 'store_true'),
            make_option('-b', '--branch',
-                       help = 'use BRANCH instead of the default one')]
+                       help = 'use BRANCH instead of the default one'),
+           make_option('--bare',
+                       help = 'bare file names (useful for scripting)',
+                       action = 'store_true')]
 
 
 def func(parser, options, args):
@@ -55,5 +58,7 @@ def func(parser, options, args):
 
     if options.stat:
         print git.diffstat(rev1 = rev1, rev2 = rev2)
+    elif options.bare:
+        print git.barefiles(rev1, rev2)
     else:
         print git.files(rev1, rev2)