Thanks Olaf what im after is line number of the first style diff in http://i.imgur.com/RdPjt.jpg (which i assume is unified style<http://en.wikipedia.org/wiki/Diff#Unified_format> ) <http://i.imgur.com/RdPjt.jpg>- similar to what github and google code does for that style
yep - i know the second style diff in http://i.imgur.com/RdPjt.jpg has line numbers refer: http://i.imgur.com/LKrSk.png <http://i.imgur.com/LKrSk.png>hope this makes sense Cheers Justin On Tue, Oct 12, 2010 at 10:24 AM, Olaf Meeuwissen <[email protected] > wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2010?10?07? 09:33, Justin Kelly wrote: > > Just wondering if its possible to display the line number on unified > > diffs - like github does > > > > github example: > > > http://github.com/chrisboulton/php-diff/commit/516c4be3abf98d3fa3740bdd709a229e60c74df0 > > > > trac example: > > http://i.imgur.com/RdPjt.jpg > > > > I've been searching but couldn't find the answer so far > > Unless I completely misunderstand, the answer is looking you right in > the face on the second URL. The second diff is a unified diff and has > line numbers on it. The diff your pointing to is a tabular diff. Just > click on the Unified "tab" in the diff's upper right corner should give > you what you want, no? > > Hope this helps, > - -- > Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION > FSF Associate Member #1962 Help support software freedom > http://www.fsf.org/jf?referrer=1962 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkyznJUACgkQt5qrxaZLMnJcHACgoydLZT+HBhbvLVhsddz+5uD1 > lHwAoLJ4I8jdLGKb5tOMyD8v5dNHmr1e > =KJ6b > -----END PGP SIGNATURE----- > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
