Delete

Harry wants to get a head start on Zawinski’s Law, so he decides to add an IMAP protocol library to their tree.

lottery harry$ git pull
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
From http://server.futilisoft.com:8000/lottery
   8e9cb1b..00b1b4f  master     -> origin/master
Updating 8e9cb1b..00b1b4f
Fast-forward
 src/pb.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

lottery harry$ git add -v libvmime-0.9.1
add 'libvmime-0.9.1/AUTHORS'
add 'libvmime-0.9.1/COPYING'
add 'libvmime-0.9.1/ChangeLog'
add 'libvmime-0.9.1/HACKING'
add 'libvmime-0.9.1/INSTALL'
add 'libvmime-0.9.1/Makefile.am'
...

lottery harry$ git commit -a -m "add libvmime so we can do the mail reader feature"
[master 5b8342b] add libvmime so we can do the mail reader feature
 443 files changed, 45673 insertions(+), 0 deletions(-)
 create mode 100644 libvmime-0.9.1/AUTHORS
 create mode 100644 libvmime-0.9.1/COPYING
 create mode 100644 libvmime-0.9.1/ChangeLog
 create mode 100644 libvmime-0.9.1/HACKING
 create mode 100644 libvmime-0.9.1/INSTALL
 create mode 100644 libvmime-0.9.1/Makefile.am
...

lottery harry$ git push
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 446 bytes, done.
Total 4 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
To http://server.futilisoft.com:8000/lottery
   00b1b4f..3e04765  master -> master

Sally does a pull and finds something only a little better than a sharp stick in the eye.

lottery sally$ git pull
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From http://server.futilisoft.com:8000/lottery
   00b1b4f..3e04765  master     -> origin/master
Updating 00b1b4f..3e04765
Fast-forward
 443 files changed, 45673 insertions(+), 0 deletions(-)
 create mode 100644 libvmime-0.9.1/AUTHORS
 create mode 100644 libvmime-0.9.1/COPYING
 create mode 100644 libvmime-0.9.1/ChangeLog
 create mode 100644 libvmime-0.9.1/HACKING
 create mode 100644 libvmime-0.9.1/INSTALL
 create mode 100644 libvmime-0.9.1/Makefile.am
...

Sally remembers that the specification says the product isn’t supposed to include a full email reader until the next release. For the entire 1.0 development cycle, that third party library is going to be about as useful as socks on a rooster. So she deletes it.

lottery sally$ git rm libvmime-0.9.1 
fatal: not removing 'libvmime-0.9.1' recursively without -r

lottery sally$ git rm -r libvmime-0.9.1
rm 'libvmime-0.9.1/AUTHORS'
rm 'libvmime-0.9.1/COPYING'
rm 'libvmime-0.9.1/ChangeLog'
rm 'libvmime-0.9.1/HACKING'
rm 'libvmime-0.9.1/INSTALL'
rm 'libvmime-0.9.1/Makefile.am'
...

lottery sally$ git commit -a -m "no mail reader until 2.0"
[master 3cdcf54] no mail reader until 2.0
 443 files changed, 0 insertions(+), 45673 deletions(-)
 delete mode 100644 libvmime-0.9.1/
 delete mode 100644 libvmime-0.9.1/AUTHORS
 delete mode 100644 libvmime-0.9.1/COPYING
 delete mode 100644 libvmime-0.9.1/ChangeLog
 delete mode 100644 libvmime-0.9.1/HACKING
 delete mode 100644 libvmime-0.9.1/INSTALL
 delete mode 100644 libvmime-0.9.1/Makefile.am
...

lottery sally$ git push
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 267 bytes, done.
Total 2 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (2/2), done.
To http://server.futilisoft.com:8000/lottery
   3e04765..3cdcf54  master -> master