I am trying to understand the output of git log --stat
command.
First output:
commit 4c90aee323acc337a37040e02a0a3644f4155738
Date: Fri May 1 22:46:11 2015 -0400
Submitting some changes in SingletonPattern example
README | 2 ++
SingletonPattern/src/PrintSpooler.java | 7 ++++++-
SingletonPattern/src/SingleSpooler.java | 8 +++++---
3 files changed, 13 insertions(+), 4 deletions(-)
For an example in the snippet below:
SingletonPattern/src/PrintSpooler.java | 7 ++++++-
This means 7 lines changed in total (6+, 1-). So far so good.
Now the next output:
commit f6e96c6df122b72ac9f70b841aa8938df1f6741b
Date: Sun Apr 26 02:08:15 2015 -0400
First commit message
SingletonPattern/.classpath | 6 +++++
SingletonPattern/.project | 17 ++++++++++++++
SingletonPattern/bin/PrintSpooler.class | Bin 0 -> 772 bytes
SingletonPattern/bin/SingleSpooler.class | Bin 0 -> 895 bytes
SingletonPattern/bin/SingletonException.class | Bin 0 -> 428 bytes
SingletonPattern/src/PrintSpooler.java | 27 ++++++++++++++++++++++
SingletonPattern/src/SingleSpooler.java | 31 ++++++++++++++++++++++++++
SingletonPattern/src/SingletonException.java | 20 +++++++++++++++++
8 files changed, 101 insertions(+)
I could not explain the following snippet:
SingletonPattern/src/SingletonException.java | 20 +++++++++++++++++
Clearly, after 20 there are 17 "+". Would not there be 20+ instead?
Same goes here:
SingletonPattern/.classpath | 6 +++++