[PATCH 2/2] retag: Properly display the final count
damien.lespiau at intel.com
Tue Nov 10 02:26:50 AEDT 2015
On Mon, Nov 09, 2015 at 03:20:39PM +0000, Finucane, Stephen wrote:
> > That wouldn't work either. On the last iteration (count - 1)/count would
> > be printed and count/count would never be printed.
> Right you are. What on earth was that code doing there at all? :)
Actually, because i goes from 0 to count - 1, another option is to print
(i + 1)/count, and the i == count - 1 condition could then ben used.
More information about the Patchwork