Artifact
4c679308a97f723470f7d5176a78320ae21e3b45:
Ticket change
[4c679308a9]
- New ticket
[7541963870] diff doesn't show newline.
by
anonymous
2012-11-06 07:50:41.
D 2012-11-06T07:50:41.315
J comment Pretty\seasy\sto\sreproduce,\sbut\srather\sirritating\swhen\syou\scan't\sget\sback\sany\sstatus\sas\sto\swhat\sexactly\schanged.\r\n\r\n<pre>%\sprintf\s"some\sfile\swith\\nno\strailing\snewline\son\sthe\slast\sline"\s>\sfoo.hpp\r\n%\sfs\sci\s-m\s"Test\sfile\swith\sno\strailing\sspace"\sfoo.hpp\r\n%\secho\s>>\sfoo.hpp\r\n%\sfs\sstatus\r\nEDITED\s\s\s\s\sfoo.hpp\r\n%\sfs\sdiff\s--brief\sfoo.hpp\r\nCHANGED\s\sfoo.hpp\r\n%\sfs\sdi\sfoo.hpp\r\n%\s</pre>\r\n\r\nEven\s`fossil\sgdiff`\sdoesn't\sshow\sthe\snormal\sdiff(1)\soutput:\r\n\r\n<pre>%\sprintf\s"foo\\nhere"\s>>\st1\r\n%\sprintf\s"foo\\nhere\\n"\s>>\st2\r\n%\sdiff\s-u\st1\st2\s\r\n---\st1\t2012-11-05\s23:47:39.000000000\s-0800\r\n+++\st2\t2012-11-05\s23:47:44.000000000\s-0800\r\n@@\s-1,2\s+1,2\s@@\r\n\sfoo\r\n-here\r\n\\\sNo\snewline\sat\send\sof\sfile\r\n+here</pre>\r\n\r\nWhile\sit\smakes\ssense\sthat\sit\swouldn't,\sthe\sUI\salso\sdoesn't\sshow\sthe\snewly\sadded\snewline\sin\sthe\sUI's\sdiff.
J private_contact 84f59114b7eee7088fd7e2932599c69c9ad0761b
J severity Minor
J status Open
J title diff\sdoesn't\sshow\snewline
J type Code_Defect
K 7541963870703f09cd5bce54b3977bb2cb8e40eb
U
Z 8b682bf4c302b59e33b76fdaae1e4c91