mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-16 20:25:14 -06:00
If we generate a blame status string before we have obtained any annotation data at all from the input file, or if the input file is empty, our total_lines will be 0. This causes a division by 0 error when we blindly divide by the 0 to compute the total percentage of lines loaded. Instead we should report 0% done. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Description
Languages
C
51.7%
Shell
37.5%
Perl
4.3%
Tcl
3%
Python
0.8%
Other
2.5%