mirror of
https://github.com/git/git.git
synced 2026-06-14 15:37:30 +02:00
f6f2aa39ef97cae03c71ecfecc334f0df60d7920
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
Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
583 MiB
Languages
C
50%
Shell
39.4%
Perl
4.3%
Tcl
3.1%
Python
0.8%
Other
2.2%