Page MenuHomeFreeBSD

Support for git-style diffs
AbandonedPublic

Authored by pfg on Jun 8 2017, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 12 2024, 11:41 AM
Unknown Object (File)
Jan 6 2024, 5:33 PM
Unknown Object (File)
Aug 2 2023, 9:58 AM
Unknown Object (File)
Jul 15 2023, 4:25 PM
Unknown Object (File)
Jun 11 2023, 8:22 AM
Subscribers

Details

Reviewers
delphij
Summary

This brings to changes from OpenBSD:

Revision 1.57
sometimes patches coming from other places have extra a/ and b/
directories prepended to filenames. detect this condition and attempt to
correct it.
ok openbsd

Revision 1.58
Unbreak previous for git diffs that do not have the a/ prefix.
Found the hard way be me, OK tedu

Plus some minor adaption so that we still support perforce-style diffs.

Test Plan

Mostly untested at this time. I do suspect it is a much desired feature.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9736
Build 10175: arc lint + arc unit

Event Timeline

Committed as r320579, however I didn't add the CR link as there was no comment.