1
0
mirror of https://github.com/git/git.git synced 2024-10-01 08:21:24 +02:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Shawn O. Pearce f6f2aa39ef git-gui: Brown paper bag fix division by 0 in blame
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>
2007-04-04 12:08:46 -04:00
.gitignore git-gui: Revert "git-gui: Display all authors of git-gui." 2007-03-12 13:26:04 -04:00
git-gui.sh git-gui: Brown paper bag fix division by 0 in blame 2007-04-04 12:08:46 -04:00
GIT-VERSION-GEN git-gui: Prefer version file over git-describe. 2007-02-14 01:55:16 -05:00
Makefile Merge branch 'maint' 2007-03-12 13:26:59 -04:00