diffstat: bogus parsing of diffs that contain \ No newline at end of file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diffstat (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: diffstat
When piping a git diff output through diffstat i stumbled upon:
dvandyk@rho $ git diff HEAD tag4/ | diffstat
folien.tex | 2 --
1 file changed, 2 deletions(-)
while my changeset clearly had this diff:
dvandyk@rho $ 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://
100 /var/lib/
Changed in diffstat (Ubuntu): | |
status: | New → Fix Committed |
This was fixed upstream in
http:// invisible- island. net/diffstat/ CHANGES
31-Aug-2009
diffstat 1.49
add special case for no-newline message from some diff's (Ubuntu
#269895).