Bug 7890 - improve detection of patch files
Summary: improve detection of patch files
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 06:41 UTC by Wouter Bolsterlee
Modified: 2006-08-25 07:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Proposed fix (863 bytes, patch)
2006-08-15 06:42 UTC, Wouter Bolsterlee
Details | Splinter Review

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.