Re: [viewvc-users] Diff of binary files
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Giulio Troccoli wrote: > I have a file that the system diff (/usr/bin/diff) thinks it's binary. I > guess it's because it doesn't have a newline at the end, but that's > irrelevant. > > I can use the -a option to get the differences in a unified fashion but I > can't seem to find a way to tell ViewVC to do so, so I can view the > differences inside ViewVC. Have you considered creating a wrapper script for 'diff' that adds the '-a' option, and configuring ViewVC to use that script instead of diff itself? > I have tried adding the mime type in mimetypes.conf but it doesn't seem > to have any effect (btw, what is that file for then?). The mimetypes.conf file is for helping ViewVC a) determine whether a file is human-readable or not (for the purposes of suggesting that folks use either the markup view or the download view by default), and for b) allowing ViewVC to declare the proper mime type for the file when serving it up via the download/checkout view. [Even though you aren't subscribed, please send any replies to the list, not to me personally. Let the world benefit from this exchange.] -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2405188 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) iEYEARECAAYFAkrOHMcACgkQokEGqRcG/W5dhgCeKPTSVf1MVutNUIvFkAuVCF00 66QAn34IFuYDguKFr+VEc8Lx4agJSNqk =yTqk -----END PGP SIGNATURE-----