Bug 7890

Summary: improve detection of patch files
Product: shared-mime-info Reporter: Wouter Bolsterlee <uws+freedesktop>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed fix

Description Wouter Bolsterlee 2006-08-15 06:41:24 UTC
Patches produced by "diff -u" start with "--- ". Right now some diffs are
regarded as VHDL files, which can start with "--".

Patches produces by bzr start with "=== ".
Comment 1 Wouter Bolsterlee 2006-08-15 06:42:11 UTC
Created attachment 6567 [details] [review]
Proposed fix
Comment 2 Bastien Nocera 2006-08-25 07:12:00 UTC
2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Patch from Wouter Bolsterlee
        <uws+freedesktop@xs4all.nl> with better magic for BZR generated
        patch files, and those starting with "---" (Closes: #7890)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.