Re: [viewvc-users] How Can I Ignore Whitespace With Unified Diff?
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Yes, the ignore-whitespace (and other diff customization) functionality in ViewVC is all pretty much limited to the human-readable diff type. If you want to make this universal, though, you could do something as simple as writing a wrapper script around 'diff' that adds the whitespace-ignoring options. (Though, it would be nice if ViewVC just let users tweak those options themselves at runtime.) Daniel Chartrand wrote: > Hello, > > Using version 1.1.2 > > How does ViewVC generate patches? (e.g myfile?r1=6667&r2=6669&view=patch) > > I would like for it to ignore whitespaces during this process but I > can't see how. It works fine for “Human Readable” but not unified diff. > > Can someone tell me how this can be done? > > Thanks. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2418967 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksCwBgACgkQokEGqRcG/W6YsACgrVy6wBofY2mifvrGoC6gKUu5 hEkAnj/gaQ7ciVPLrnfYeggCi2adSPTf =9vxU -----END PGP SIGNATURE-----