Public bug reported:

Binary package hint: diffstat

When piping a git diff output through diffstat i stumbled upon:

[EMAIL PROTECTED] $ git diff HEAD tag4/ | diffstat
 folien.tex |    2 --
 1 file changed, 2 deletions(-)

while my changeset clearly had this diff:

[EMAIL PROTECTED] $ git diff HEAD tag4/
...
 \begin{frame}
-       \frametitle{...}}
-\end{frame}
\ No newline at end of file
+       \frametitle{...}

The number of added lines has been completely neglected. It seems to me
that diffstat stops parsing a diff when it encounters the line "\ No
newline at end of file". Reporting it as diffstat bug, unless somebody
can point me to documentation that contradicts me.

diffstat:
  Installed: 1.45-2
  Candidate: 1.45-2
  Version table:
 *** 1.45-2 0
        500 http://de.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

** Affects: diffstat (Ubuntu)
     Importance: Undecided
         Status: New

-- 
diffstat: bogus parsing of diffs that contain \ No newline at end of file
https://bugs.launchpad.net/bugs/269895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to